Changeset 3182:adf3c934173f for plugins/pages
- Timestamp:
- 02/22/16 16:15:18 (10 years ago)
- Branch:
- default
- Location:
- plugins/pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/list.js
r2566 r3182 1 1 dotclear.viewPostContent = function(line,action) { 2 2 var action = action || 'toggle'; 3 if ($(line).attr('id') == undefined) { return; } 4 3 5 var postId = $(line).attr('id').substr(1); 4 6 var tr = document.getElementById('pe'+postId); … … 59 61 p = $('<p></p>'); 60 62 $(this).prepend(p); 61 dotclear.checkboxesHelpers(p );63 dotclear.checkboxesHelpers(p,undefined,'#pageslist td input[type=checkbox]','#form-entries #do-action'); 62 64 }); 63 65 $('#pageslist td input[type=checkbox]').enableShiftClick(); 66 dotclear.condSubmit('#pageslist td input[type=checkbox]','#form-entries #do-action'); 64 67 65 68 $("#pageslist tr.line td:not(.expander)").mousedown(function(){ -
plugins/pages/list.php
r2849 r3182 99 99 '<p class="col right"><label for="action" class="classic">'.__('Selected pages action:').'</label> '. 100 100 form::combo('action',$pages_actions_page->getCombo()). 101 '<input type="submit" value="'.__('ok').'" />'.101 '<input id="do-action" type="submit" value="'.__('ok').'" />'. 102 102 form::hidden(array('post_type'),'page'). 103 103 form::hidden(array('p'),'pages').
Note: See TracChangeset
for help on using the changeset viewer.