fix javascript disable checkbox failed after cate and tags being reloaded.
This commit is contained in:
1 parent
99e67c8719
commit
0e6599e9b9
7 files changed
+14
-6
No files matched your search
@@ -11,7 +11,11 @@ function update_cates_and_tags()
|
||||
});
|
||||
}
|
||||
|
||||
function rebind(){
|
||||
$("#widget_data_source_category,#widget_data_source_tag,#app_page_category,#app_page_tag").find('input').change(function(){update_cates_and_tags()});
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
update_cates_and_tags();
|
||||
$("#widget_data_source_category,#widget_data_source_tag,#app_page_category,#app_page_tag").find('input').change(function(){update_cates_and_tags()});
|
||||
rebind();
|
||||
});
|
||||
Reference in new issue
Block a user