Changeset 1057
- Timestamp:
- 10/04/08 06:54:52 (2 months ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
XinhaCore.js (modified) (5 diffs)
-
XinhaLoader.js (modified) (1 diff)
-
modules/Dialogs/XinhaDialog.js (modified) (2 diffs)
-
modules/FullScreen/full-screen.js (modified) (2 diffs)
-
plugins/ExtendedFileManager/assets/dragTableCols.js (modified) (1 diff)
-
plugins/Stylist/stylist.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r1055 r1057 77 77 // convert _editor_url to absolute 78 78 if(!_editor_url.match(/^([^:]+\:)?\//)){ 79 var path = window.location.toString().replace(/\?.*$/,'').split("/"); 80 path.pop(); 81 _editor_url = Xinha._resolveRelativeUrl(path.join("/"), _editor_url); 79 Xinha.tmpPath = window.location.toString().replace(/\?.*$/,'').split("/"); 80 Xinha.tmpPath.pop(); 81 _editor_url = Xinha._resolveRelativeUrl(Xinha.tmpPath.join("/"), _editor_url); 82 delete(Xinha.tmpPath); 82 83 } 83 84 } … … 1901 1902 }; 1902 1903 1903 // @todo : is this some kind of test not finished ?1904 // Why the hell this is not in the config object ?1905 var use_clone_img = false;1906 1904 /** creates a button (i.e. container element + image) 1907 1905 * @private … … 1950 1948 img.style.width = "18px"; 1951 1949 img.style.height = "18px"; 1952 if ( use_clone_img )1953 {1954 doc._xinhaImgCache[imgDef] = img.cloneNode();1955 }1956 1950 } 1957 1951 } … … 1967 1961 img.src = imgDef[0]; 1968 1962 img.style.position = 'relative'; 1969 if ( use_clone_img )1970 {1971 doc._xinhaImgCache[imgDef[0]] = img.cloneNode();1972 }1973 1963 } 1974 1964 // @todo: Using 18 dont let us use a theme with its own icon toolbar height … … 6886 6876 Xinha.getElementTopLeft = function(element) 6887 6877 { 6888 var curleft = curtop = 0; 6878 var curleft = 0; 6879 var curtop = 0; 6889 6880 if (element.offsetParent) 6890 6881 { -
trunk/XinhaLoader.js
r962 r1057 58 58 Xinha.getElementTopLeft = function(element) 59 59 { 60 var curleft = curtop = 0; 60 var curleft = 0; 61 var curtop = 0; 61 62 if (element.offsetParent) 62 63 { -
trunk/modules/Dialogs/XinhaDialog.js
r1056 r1057 50 50 undefined, the options passed in above will be used. 51 51 */ 52 globalOptions = editor.config.dialogOptions52 var globalOptions = editor.config.dialogOptions 53 53 if (globalOptions) { 54 54 if (typeof(globalOptions.centered) != 'undefined') { … … 271 271 rootElem = null; 272 272 main = null; 273 resizeHandle = null;274 273 275 274 Xinha.freeLater(this,"rootElem"); -
trunk/modules/FullScreen/full-screen.js
r961 r1057 3 3 this.editor = editor; 4 4 editor._superclean_on = false; 5 cfg = editor.config;5 var cfg = editor.config; 6 6 7 7 cfg.registerButton … … 44 44 { 45 45 var e = this; 46 var cfg = e.config; 46 47 function sizeItUp() 47 48 { -
trunk/plugins/ExtendedFileManager/assets/dragTableCols.js
r937 r1057 102 102 dragTableCols.getElementTopLeft = function(element) 103 103 { 104 var curleft = curtop = 0; 104 var curleft = 0; 105 var curtop = 0; 105 106 if (element.offsetParent) 106 107 { -
trunk/plugins/Stylist/stylist.js
r1044 r1057 482 482 // We are only interested in the selectors, the rules are not important 483 483 // so we'll drop out all coments and rules 484 RE_comment = /\/\*(.|\r|\n)*?\*\//g;485 RE_rule = /\{(.|\r|\n)*?\}/g;484 var RE_comment = /\/\*(.|\r|\n)*?\*\//g; 485 var RE_rule = /\{(.|\r|\n)*?\}/g; 486 486 css = css.replace(RE_comment, ''); 487 487 css = css.replace(RE_rule, ',');
