Use action system to select all

This commit is contained in:
Nathan Gray 2011-05-04 17:41:51 +00:00
parent cb4f68cd3d
commit 0ccd420b6b
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -197,7 +197,7 @@
</hbox> </hbox>
<hbox align="right"> <hbox align="right">
<buttononly label="Select action" onclick="if (!egw_objectManager.executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;" id="legacy_actions" statustext="Select action"/> <buttononly label="Select action" onclick="if (!egw_objectManager.executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;" id="legacy_actions" statustext="Select action"/>
<button label="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" id="check_all" image="arrow_ltr" statustext="Check all" class="checkAllArrow"/> <button label="Check all" onclick="egw_objectManager.toggleAllSelected(); return false;" needed="1" id="check_all" image="arrow_ltr" statustext="Check all" class="checkAllArrow"/>
</hbox> </hbox>
</row> </row>
<row> <row>