X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=cb4aab90a604473c42b8606ba7827a54e98cfdc5;hp=9ad7d68e98eae4e3ebbc77221cb9ae137552984b;hb=bb4f20285cb0ce281099e1db5cb76e60175de50f;hpb=73f7b5a9f21e91afcf1a6ce56a0a5140310de826 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 9ad7d68e98..cb4aab90a6 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -1400,9 +1400,10 @@ Roo.extend(Roo.data.DataProxy, Roo.util.Observable); * @constructor * @param {Object} config A config object containing the objects needed for the Store to access data, */ -Roo.data.MemoryProxy = function(data){ - if (typeof(data) != 'undefined' && typeof(data.data) != 'undefined') { - data = data.data; +Roo.data.MemoryProxy = function(config){ + var data = config; + if (typeof(config) != 'undefined' && typeof(config.data) != 'undefined') { + data = config.data; } Roo.data.MemoryProxy.superclass.constructor.call(this); this.data = data; @@ -21784,7 +21785,7 @@ Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter, } var nlvl = (style['mso-list'].split(' ')[1].replace(/level/,'') *1) - 1; - if (nlvl > lvl) { + if (nlvl > lvl && last_li) { //new indent var nul = doc.createElement('ul'); // what about number lists... last_li.appendChild(nul);