calling the global action-object-manager

This commit is contained in:
Ralf Becker 2011-06-02 17:01:56 +00:00
parent a6784aefbc
commit cfc3039bc0
2 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -47,7 +47,7 @@
<nextmatch-customfields label="Custom fields" id="cfs" readonly="true"/>
<hbox class="noPrint" label="Actions">
<nextmatch-header statustext="Check all" label="Actions" id="legacy_actions" class="noPrint"/>
<button align="right" statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_objectManager.toggleAllSelected(); return false;" image="check"/>
<button align="right" statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('calendar.list.rows').toggleAllSelected(); return false;" image="check"/>
</hbox>
</row>
<row class="$row_cont[category] $row_cont[class]" valign="top">
@ -131,8 +131,8 @@
<row class="noPrint" disabled="!@nm[selectcols]=/legacy_actions/">
<description/>
<hbox align="right">
<buttononly statustext="Select action" label="Select action" id="legacy_actions" onclick="if (!egw_objectManager.executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
<button statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_objectManager.toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
<buttononly statustext="Select action" label="Select action" id="legacy_actions" onclick="if (!egw_globalObjectManager.getObjectById('calendar.list.rows').executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
<button statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('calendar.list.rows').toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
</hbox>
</row>
</rows>