diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-14 19:41:00 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-14 19:41:32 -0500 |
commit | 91d04c64771832a0b8815ffbe1f0f9920320d94d (patch) | |
tree | fb02d5e1c84a3d91def9a7ee95bc87f9c046cc96 /ecomp-sdk-app/src/main/webapp/static/fusion/raptor/js/label_quantum.js | |
parent | b9d4caa40ef8e3566ac475968bce17b9b64b6939 (diff) |
Initial OpenECOMP policy/engine commit
Change-Id: I7dbff37733b661643dd4d1caefa3d7dccc361b6e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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.js | 5 |
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 |