aboutsummaryrefslogtreecommitdiffstats
path: root/ecomp-sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js')
-rw-r--r--ecomp-sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js b/ecomp-sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js
new file mode 100644
index 000000000..6e07cbc1f
--- /dev/null
+++ b/ecomp-sdk-app/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, "<br />");
+ }
+}); \ No newline at end of file