mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +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)
|
function confirm_delete(_action, _senders)
|
||||||
{
|
{
|
||||||
var children = false;
|
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) {
|
if(child_button) {
|
||||||
for(var i = 0; i < _senders.length; i++) {
|
for(var i = 0; i < _senders.length; i++) {
|
||||||
if ($j(_senders[i].iface.node).hasClass('rowHasSubs')) {
|
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"/>
|
<nextmatch-accountfilter statustext="Select to filter by responsible" id="info_responsible" options="Responsible,both" class="user_filter"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
|
<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"/>
|
<nextmatch-header label="Action" id="actions" class="noPrint"/>
|
||||||
</row>
|
</row>
|
||||||
<row class="$row_cont[info_cat] $row_cont[class]" valign="top">
|
<row class="$row_cont[info_cat] $row_cont[class]" valign="top">
|
||||||
@ -201,7 +201,7 @@
|
|||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<hbox class="action_popup prompt">
|
<hbox class=" ">
|
||||||
<box class="action_popup prompt" id="responsible_popup">
|
<box class="action_popup prompt" id="responsible_popup">
|
||||||
<vbox>
|
<vbox>
|
||||||
<description value="Change responsible" class="promptheader"/>
|
<description value="Change responsible" class="promptheader"/>
|
||||||
@ -246,7 +246,7 @@
|
|||||||
* Add / remove link or category popup used for actions on multiple entries
|
* Add / remove link or category popup used for actions on multiple entries
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.action_popup {
|
div.action_popup[id] {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 200px;
|
top: 200px;
|
||||||
left: 450px;
|
left: 450px;
|
||||||
|
Loading…
Reference in New Issue
Block a user