mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:43 +01:00
Fixed problem with rebuilding the template after a submit not working correctly
This commit is contained in:
parent
2175421d42
commit
4440b4cd02
@ -111,7 +111,7 @@ abstract class etemplate_widget_transformer extends etemplate_widget
|
||||
$unmodified = $attrs;
|
||||
|
||||
// run the transformation
|
||||
foreach($this->transformation as $filter => $data)
|
||||
foreach(static::$transformation as $filter => $data)
|
||||
{
|
||||
$this->action($filter, $data, $attrs);
|
||||
}
|
||||
|
@ -76,8 +76,6 @@ var et2_link_to = et2_inputWidget.extend({
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
this.link_button = null;
|
||||
this.status_span = null;
|
||||
this.comment = null;
|
||||
@ -87,6 +85,8 @@ var et2_link_to = et2_inputWidget.extend({
|
||||
this.file_upload.destroy();
|
||||
this.file_upload = null;
|
||||
this.div = null;
|
||||
|
||||
this._super.apply(this, arguments);
|
||||
},
|
||||
|
||||
/**
|
||||
@ -762,7 +762,9 @@ var et2_link_string = et2_valueWidget.extend([et2_IDetachedDOM], {
|
||||
|
||||
destroy: function() {
|
||||
this._super.apply(this, arguments);
|
||||
this.node.children().unbind();
|
||||
if (this.node != null) {
|
||||
this.node.children().unbind();
|
||||
}
|
||||
},
|
||||
|
||||
set_value: function(_value) {
|
||||
|
@ -96,7 +96,7 @@ var et2_template = et2_DOMWidget.extend({
|
||||
this.proxiedTemplate.isProxy = true;
|
||||
|
||||
// Disallow adding any new node to this template
|
||||
this.supportedWidgetClasses = [];
|
||||
//this.supportedWidgetClasses = [];
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user