add autosubmit on admin menu
This commit is contained in:
parent
5309769eaa
commit
9ce7cdd237
@ -3,6 +3,8 @@
|
||||
- [ ] add priority on lists of filters for replacement order
|
||||
- [ ] add auto-find post title in content
|
||||
- [ ] split filters into modules
|
||||
- [x] add autosubmit onadmin menu
|
||||
- [ ] move sort options from blog pref to user pref
|
||||
|
||||
2021.09.05
|
||||
- fix duplicate records id
|
||||
|
@ -165,6 +165,7 @@ echo '
|
||||
//dcPage::jsLoad('js/_posts_list.js') .
|
||||
dcPage::jsToolbar() .
|
||||
dcPage::jsPageTabs() .
|
||||
dcPage::jsLoad(dcPage::getPF('enhancePostContent/js/index.js')) .
|
||||
|
||||
# --BEHAVIOR-- enhancePostContentAdminHeader
|
||||
$core->callBehavior('enhancePostContentAdminHeader', $core) . '
|
||||
|
8
js/index.js
Normal file
8
js/index.js
Normal file
@ -0,0 +1,8 @@
|
||||
/*global $, dotclear */
|
||||
'use strict';
|
||||
|
||||
$(function () {
|
||||
$('#part').on('change', function () {
|
||||
this.form.submit();
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user