diff --git a/index.html b/index.html index 0fde83b0..e32e628f 100755 --- a/index.html +++ b/index.html @@ -242,7 +242,7 @@ { text: ' Assign template', className: 'btn-info', - enabled: false, + enabled: true, action: function () { $.ajax({ type: "GET", @@ -292,12 +292,14 @@ if (arrayLength > 0 ) { $('#templateEditorSave').prop('disabled', false); + $('#templateEditorDelete').prop('disabled', false); $('#templateSelector').html(htmlContent); $('#templateSelector').selectpicker('refresh'); $('#templateSelector').trigger('change'); } else { $('#templateEditorSave').prop('disabled', true); + $('#templateEditorDelete').prop('disabled', true); } $('#templateEditor').modal('show'); @@ -980,6 +982,7 @@