- Timestamp:
- 04/02/13 11:37:46 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/filters/filters.js
r7948 r8068 627 627 var list = DataLayer.render( BASE_PATH + 'modules/filters/filter-list.ejs', DataLayer.get("filter:detail", true)); 628 628 list_container.html(list).find(".button").button(); 629 629 list_container.find(".alldelete").button("disable"); 630 list_container.find(".alldisable").button("disable"); 631 list_container.find(".allenable").button("disable"); 632 630 633 list_container.find(".rule-list").selectable({ 631 634 selecting: function(event, ui) { … … 636 639 } 637 640 }); 641 642 list_container.find(".select").children("input").click(function(){ 643 if(list_container.find(".select").children("input:checked").length){ 644 list_container.find(".alldelete").button("enable"); 645 list_container.find(".alldisable").button("enable"); 646 list_container.find(".allenable").button("enable"); 647 } else { 648 list_container.find(".alldelete").button("disable"); 649 list_container.find(".alldisable").button("disable"); 650 list_container.find(".allenable").button("disable"); 651 } 652 }); 638 653 639 654 list_container.find( ".menu-control .button" ).filter(".update").button({
Note: See TracChangeset
for help on using the changeset viewer.