roojs-ui.js
[roojs1] / roojs-ui-debug.js
index 3600fe4..f88e619 100644 (file)
@@ -11226,7 +11226,7 @@ Roo.QuickTips = function(){
         if(ttp){
             showProc = show.defer(tm.showDelay, tm, [{
                 el: t, 
-                text: ttp
+                text: ttp.replace(/\\n/g,'<br/>'),
                 width: et.getAttributeNS(ns, cfg.width),
                 autoHide: et.getAttributeNS(ns, cfg.hide) != "user",
                 title: et.getAttributeNS(ns, cfg.title),
@@ -16531,6 +16531,7 @@ side          Add an error icon to the right of the field with a popup on hover
      * Resets the current field value to the originally loaded value and clears any validation messages
      */
     reset : function(){
+        this.originalValue = this.resetValue;
         this.setValue(this.resetValue);
         this.clearInvalid();
     },