changing the remove text from the search widget
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 17 Apr 2017 14:57:34 +0000 (10:57 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 17 Apr 2017 14:57:34 +0000 (10:57 -0400)
changed the 'remove' text from each of the search items in the search filter. An option
was changed in the initialization function of asmselect

glm-member-db/views/front/members/list.html

index 722efbe..d32f0ea 100644 (file)
 
             $('#brands').prev().prev().remove();
             $('#brands').prev().remove();
-            jQuery('#brands').asmSelect();
+            jQuery('#brands').asmSelect({
+                removeLabel: 'X'
+            });
 
             if( $('#brands').prev().children('li').length <= 0 ){
                 $("#rvManufacturers").prev().prev().prop('disabled', false);
            }));
 
 
-    jQuery('select[multiple]').asmSelect();
+    jQuery('select[multiple]').asmSelect({
+        removeLabel: 'X'
+    });
 
 
             // Show search filters box