Etemplate: Only re-set label if the new value is different

Fixes initialization could clear the link text if value was set first
This commit is contained in:
nathangray 2021-06-08 10:59:46 -06:00 committed by Hadi Nategh
parent 218e17798d
commit f64a026898

View File

@ -13,12 +13,10 @@
et2_valueWidget; et2_valueWidget;
/api/js/jquery/jquery.base64.js; /api/js/jquery/jquery.base64.js;
*/ */
import { et2_register_widget } from "./et2_core_widget"; var et2_core_widget_1 = require("./et2_core_widget");
import { et2_textbox } from "./et2_widget_textbox"; var et2_widget_textbox_1 = require("./et2_widget_textbox");
import { ClassWithAttributes } from "./et2_core_inheritance"; var et2_core_inheritance_1 = require("./et2_core_inheritance");
import { et2_valueWidget } from "./et2_core_valueWidget"; var et2_core_valueWidget_1 = require("./et2_core_valueWidget");
import { et2_no_init } from "./et2_core_common";
import { egw } from "../jsapi/egw_global";
/** /**
* Class which implements the "url" XET-Tag, which covers URLs, email & phone * Class which implements the "url" XET-Tag, which covers URLs, email & phone
* *