mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Get delete confirm popup working with et2 as well as old etemplate
This commit is contained in:
parent
b2e9b07af8
commit
383a78768f
@ -17,7 +17,7 @@
|
||||
function confirm_delete(_action, _senders)
|
||||
{
|
||||
var children = false;
|
||||
var child_button = document.getElementById(egw_globalObjectManager.getObjectById('infolog.index.rows').etemplate_var_prefix+'[delete_sub]');
|
||||
var child_button = jQuery('#delete_sub').get(0) || jQuery('[id*="delete_sub"]').get(0);
|
||||
if(child_button) {
|
||||
for(var i = 0; i < _senders.length; i++) {
|
||||
if ($j(_senders[i].iface.node).hasClass('rowHasSubs')) {
|
||||
|
File diff suppressed because one or more lines are too long
@ -76,7 +76,7 @@
|
||||
<nextmatch-accountfilter statustext="Select to filter by responsible" id="info_responsible" options="Responsible,both" class="user_filter"/>
|
||||
</vbox>
|
||||
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
|
||||
<nextmatch-header label="Sub" id="sub" value="Sub" class="noPrint"/>
|
||||
<nextmatch-header label="Sub" id="sub" class="noPrint"/>
|
||||
<nextmatch-header label="Action" id="actions" class="noPrint"/>
|
||||
</row>
|
||||
<row class="$row_cont[info_cat] $row_cont[class]" valign="top">
|
||||
@ -201,7 +201,7 @@
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<hbox class="action_popup prompt">
|
||||
<hbox class=" ">
|
||||
<box class="action_popup prompt" id="responsible_popup">
|
||||
<vbox>
|
||||
<description value="Change responsible" class="promptheader"/>
|
||||
@ -246,7 +246,7 @@
|
||||
* Add / remove link or category popup used for actions on multiple entries
|
||||
*/
|
||||
|
||||
.action_popup {
|
||||
div.action_popup[id] {
|
||||
position: fixed;
|
||||
top: 200px;
|
||||
left: 450px;
|
||||
@ -275,4 +275,4 @@
|
||||
}
|
||||
</styles>
|
||||
</template>
|
||||
</overlay>
|
||||
</overlay>
|
Loading…
Reference in New Issue
Block a user