fix checkbox helpers, fix #4
parent
f20be2acd3
commit
aefc9b5b69
|
@ -0,0 +1,9 @@
|
|||
/*global $, dotclear */
|
||||
'use strict';
|
||||
|
||||
$(() => {
|
||||
$('.checkboxes-helpers').each(function () {
|
||||
dotclear.checkboxesHelpers(this, undefined, '#form-entries td input[type=checkbox]', '#form-entries #feed-action');
|
||||
});
|
||||
dotclear.condSubmit('#form-entries td input[type=checkbox]', '#form-entries #feed-action');
|
||||
});
|
|
@ -0,0 +1,9 @@
|
|||
/*global $, dotclear */
|
||||
'use strict';
|
||||
|
||||
$(() => {
|
||||
$('.checkboxes-helpers').each(function () {
|
||||
dotclear.checkboxesHelpers(this, undefined, '#form-feeds td input[type=checkbox]', '#form-feeds #feeds-action');
|
||||
});
|
||||
dotclear.condSubmit('#form-feeds td input[type=checkbox]', '#form-feeds #feeds-action');
|
||||
});
|
|
@ -1,8 +0,0 @@
|
|||
/*global $, dotclear */
|
||||
'use strict';
|
||||
|
||||
$(() => {
|
||||
$('.checkboxes-helpers').each(function(){dotclear.checkboxesHelpers(this);});
|
||||
dotclear.condSubmit('#form-feeds td input[type=checkbox]', '#form-feeds #feeds-action');
|
||||
dotclear.condSubmit('#form-entries td input[type=checkbox]', '#form-entries #feed-action');
|
||||
});
|
|
@ -143,7 +143,7 @@ class Manage extends dcNsProcess
|
|||
(
|
||||
isset($feeds_list) && !dcCore::app()->error->flag() ?
|
||||
$feeds_filter->js(dcCore::app()->adminurl->get('admin.plugin.' . My::id(), ['part' => 'feeds'], '&')) .
|
||||
dcPage::jsModuleLoad(My::id() . '/js/list.js')
|
||||
dcPage::jsModuleLoad(My::id() . '/js/feeds.js')
|
||||
: ''
|
||||
) .
|
||||
dcPage::jsPageTabs()
|
||||
|
|
|
@ -197,7 +197,7 @@ class ManageFeed extends dcNsProcess
|
|||
(
|
||||
$v->id && isset($post_filter) && !dcCore::app()->error->flag() ?
|
||||
$post_filter->js(dcCore::app()->adminurl->get('admin.plugin.' . My::id(), ['part' => 'feed', 'feed_id' => $v->id], '&') . '#entries') .
|
||||
dcPage::jsModuleLoad(My::id() . '/js/list.js')
|
||||
dcPage::jsModuleLoad(My::id() . '/js/feed.js')
|
||||
: ''
|
||||
) .
|
||||
dcPage::jsPageTabs() .
|
||||
|
|
Loading…
Reference in New Issue