X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=9e05db1d42c50223fac990fb95e0f6e9656a314b;hb=d59b277dae414c8ed4dbc3522847f5f1b495081a;hp=6abd75cffbcc45f40334d66aa1aa487e4c94ff10;hpb=aa81e6a9bf9efbc577cf966787de31ef34709f33;p=roojs1
diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js
index 6abd75cffb..9e05db1d42 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
@@ -20523,12 +20526,17 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
'IMG { cursor: pointer } ' +
'';
+ var cls = 'roo-htmleditor-body';
+
+ if(this.bodyCls.length){
+ cls += ' ' + this.bodyCls;
+ }
return '