default refresh method for jdots, if no nextmatch available

This commit is contained in:
Ralf Becker 2014-02-14 15:01:45 +00:00
parent 20632a0422
commit 61e98b8149

View File

@ -714,11 +714,16 @@ etemplate2.prototype.getValues = function(_root)
etemplate2.prototype.refresh = function(msg, app, id, type)
{
msg, app; // unused but required by function signature
var refresh_done = false;
// Refresh nextmatches
this.widgetContainer.iterateOver(function(_widget) {
// Trigger refresh
_widget.refresh(id,type);
refresh_done = true;
}, this, et2_nextmatch);
return refresh_done;
};
// Some static things to make getting into widget context a little easier //