From 57dbba269d19bc59fad89160200bb2dbcccb9003 Mon Sep 17 00:00:00 2001 From: shentao Date: Fri, 1 Sep 2017 11:57:47 +0800 Subject: Upload Monitor function code Change-Id: I33ad76221b4cb771a298ff240245fc24be664efb Issue-Id: USECASEUI-6 Signed-off-by: shentao --- .../src/main/webapp/static/fusion/raptor/js/label_quantum.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 usecaseui-common/src/main/webapp/static/fusion/raptor/js/label_quantum.js (limited to 'usecaseui-common/src/main/webapp/static/fusion/raptor/js/label_quantum.js') diff --git a/usecaseui-common/src/main/webapp/static/fusion/raptor/js/label_quantum.js b/usecaseui-common/src/main/webapp/static/fusion/raptor/js/label_quantum.js new file mode 100644 index 00000000..6e07cbc1 --- /dev/null +++ b/usecaseui-common/src/main/webapp/static/fusion/raptor/js/label_quantum.js @@ -0,0 +1,5 @@ +zk.afterLoad("zul.wgt", function () { + zul.wgt.Label.prototype.getEncodedText = function() { + return zUtl.encodeXML(this._value, {multiline:this._multiline,pre:this._pre, maxlength: this._maxlength}).replace(/_nl_/g, "
"); + } +}); \ No newline at end of file -- cgit 1.2.3-korg