mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Mail tree W.I.P.:
-Show ajax-loader on clicked node while autoloading processing
This commit is contained in:
parent
74952cd739
commit
04145bf597
@ -3690,6 +3690,34 @@ app.classes.mail = AppJS.extend(
|
|||||||
}
|
}
|
||||||
this.et2._inst.submit(_widget);
|
this.et2._inst.submit(_widget);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show ajax-loader when the autoloading get started
|
||||||
|
*
|
||||||
|
* @param {type} _id item id
|
||||||
|
* @param {type} _widget tree widget
|
||||||
|
* @returns {Boolean}
|
||||||
|
*/
|
||||||
|
subscription_autoloadingStart: function (_id, _widget)
|
||||||
|
{
|
||||||
|
var node = _widget.input._globalIdStorageFind(_id);
|
||||||
|
if (node && typeof node.htmlNode != 'undefined')
|
||||||
|
{
|
||||||
|
var img = jQuery('img',node.htmlNode)[0];
|
||||||
|
img.src = egw.image('ajax-loader', 'admin');
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Revert back the icon after autoloading is finished
|
||||||
|
* @returns {Boolean}
|
||||||
|
*/
|
||||||
|
subscription_autoloadingEnd: function ()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Popup the subscription dialog
|
* Popup the subscription dialog
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user