From 1faf201e8608dfa4d7af3460fd3d1fc7ebec398b Mon Sep 17 00:00:00 2001 From: talasila Date: Tue, 7 Feb 2017 11:47:55 -0500 Subject: Initial OpenECOMP Portal SDK commit Change-Id: I66a3491600a4b9ea241128dc29267eed6a78ed76 Signed-off-by: talasila --- .../sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js (limited to 'ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js') diff --git a/ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js b/ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js new file mode 100644 index 00000000..6e07cbc1 --- /dev/null +++ b/ecomp-sdk/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, "
"); + } +}); \ No newline at end of file -- cgit 1.2.3-korg