Преглед изворни кода

BugFix: remove alert correctly

Yuki Takei пре 8 година
родитељ
комит
457956a4dd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/views/admin/widget/passport/ldap.html

+ 1 - 1
lib/views/admin/widget/passport/ldap.html

@@ -167,7 +167,7 @@
     $(this).submit(function()
     $(this).submit(function()
     {
     {
       function showMessage(formId, msg, status) {
       function showMessage(formId, msg, status) {
-        $('#' + formId + ' > .alert').remove();
+        $('#' + formId + ' .alert').remove();
 
 
         if (!status) {
         if (!status) {
           status = 'success';
           status = 'success';