X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=db9579e20b491f373219d4dd2d07b187143ef758;hb=dbe9e326ba1541010b127a8ea347750c0602141e;hp=93a85126ed5caa97bb777c5b47e30f8008f1c8ed;hpb=f66d83783b12de21a85393e258257d217b1c1019;p=roojs1
diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js
index 93a85126ed..db9579e20b 100644
--- a/roojs-ui-debug.js
+++ b/roojs-ui-debug.js
@@ -567,6 +567,7 @@ Roo.extend(Roo.data.Store, Roo.util.Observable, {
remove : function(record){
var index = this.data.indexOf(record);
this.data.removeAt(index);
+
if(this.pruneModifiedRecords){
this.modified.remove(record);
}
@@ -11225,7 +11226,7 @@ Roo.QuickTips = function(){
if(ttp){
showProc = show.defer(tm.showDelay, tm, [{
el: t,
- text: ttp,
+ text: ttp.replace(/\\n/g,'
'),
width: et.getAttributeNS(ns, cfg.width),
autoHide: et.getAttributeNS(ns, cfg.hide) != "user",
title: et.getAttributeNS(ns, cfg.title),
@@ -16531,6 +16532,7 @@ side Add an error icon to the right of the field with a popup on hover
*/
reset : function(){
this.setValue(this.resetValue);
+ this.originalValue = this.getValue();
this.clearInvalid();
},
@@ -19227,6 +19229,7 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
reset : function(){
// overridden so that last data is reset..
this.setValue(this.resetValue);
+ this.originalValue = this.getValue();
this.clearInvalid();
this.lastData = false;
if (this.view) {
@@ -20486,7 +20489,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
black: false,
white: false,
-
+ bodyCls : '',
/**
* Protected method that will not generally be called directly. It
@@ -20514,19 +20517,26 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
'body{border:0;margin:0;padding:3px;height:98%;cursor:text;}' +
'';
} else {
-
+ st = '';
}
st += '';
+ var cls = 'roo-htmleditor-body';
+
+ if(this.bodyCls.length){
+ cls += ' ' + this.bodyCls;
+ }
return '