Changeset 1117
- Timestamp:
- 11/12/08 13:07:40 (5 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
XinhaCore.js (modified) (3 diffs)
-
modules/Dialogs/XinhaDialog.js (modified) (1 diff)
-
plugins/Linker/pluginMethods.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r1113 r1117 1112 1112 * @private 1113 1113 */ 1114 this.iconList = {} 1114 this.iconList = 1115 { 1116 dialogCaption : _editor_url + 'images/xinha-small-icon.gif', 1117 wysiwygmode : [_editor_url + 'images/ed_buttons_main.png',7,1] 1118 } 1115 1119 // initialize tooltips from the I18N module and generate correct image path 1116 1120 for ( var i in this.btnList ) … … 2275 2279 icon = icon.getElementsByTagName('default')[0]; 2276 2280 } 2277 path = _editor_url + getTextContent(icon.getElementsByTagName('path')[0]); 2281 path = getTextContent(icon.getElementsByTagName('path')[0]); 2282 path = (!/^\//.test(path) ? _editor_url : '') + path; 2278 2283 type = icon.getAttribute('type'); 2279 2284 if (type == 'map') … … 3182 3187 case "textmode": 3183 3188 this.firePluginEvent('onBeforeMode', 'textmode'); 3184 this._toolbarObjects.htmlmode.swapImage( [this.imgURL('images/ed_buttons_main.png'),7,1]);3189 this._toolbarObjects.htmlmode.swapImage(this.config.iconList.wysiwygmode); 3185 3190 this.setCC("iframe"); 3186 3191 html = this.outwardHtml(this.getHTML()); -
trunk/modules/Dialogs/XinhaDialog.js
r1098 r1117 236 236 { 237 237 className = 'icon'; 238 src = _editor_url + 'images/xinha-small-icon.gif';238 src = editor.config.iconList.dialogCaption; 239 239 style.position = 'absolute'; 240 240 style.top = '3px'; -
trunk/plugins/Linker/pluginMethods.js
r1097 r1117 553 553 for (var i=0; i<enabledTargets.length; i++) 554 554 { 555 console.log(this.dialog.getElementById(enabledTargets[i]));556 console.log("is checked: " + this.dialog.getElementById(enabledTargets[i]).checked);557 555 if (this.dialog.getElementById(enabledTargets[i]).checked == true) 558 556 {
