Tie egw_action system into etemplate widgets - allows actions on widgets

This commit is contained in:
Nathan Gray
2013-03-26 21:19:17 +00:00
parent c55e636f43
commit 1f754d485b
3 changed files with 152 additions and 27 deletions

View File

@@ -1024,6 +1024,11 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], {
}
},
/**
* Actions are handled by the controller, so ignore these
*/
set_actions: function(actions) {},
getDOMNode: function(_sender) {
if (_sender == this)
{
@@ -1119,6 +1124,11 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader, {
this._createHeader();
},
/**
* Actions are handled by the controller, so ignore these
*/
set_actions: function(actions) {},
_createHeader: function() {
var self = this;