Changeset 86
- Timestamp:
- 04/25/05 11:30:06 (8 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/DynamicCSS/dynamiccss.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/DynamicCSS/dynamiccss.js
r60 r86 21 21 var css_class = { 22 22 id : "DynamicCSS-class", 23 tooltip : this._lc("Choose stylesheet" , "DynamicCSS"),23 tooltip : this._lc("Choose stylesheet"), 24 24 options : {"":""}, 25 25 action : function(editor) { self.onSelect(editor, this); }, … … 95 95 else{ 96 96 className='none'; 97 if(tagName=='all') cssName=this._lc("Default" , "DynamicCSS");98 else cssName='<'+this._lc("Default" , "DynamicCSS")+'>';97 if(tagName=='all') cssName=this._lc("Default"); 98 else cssName='<'+this._lc("Default")+'>'; 99 99 } 100 100 cssArray[tagName][className]=cssName; … … 195 195 } 196 196 197 select.options[0]=new Option(this._lc("Default" , "DynamicCSS"),'none');197 select.options[0]=new Option(this._lc("Default"),'none'); 198 198 if(cssArray){ 199 199 // style class only allowed if parent tag is not body or editor is in fullpage mode … … 229 229 } 230 230 if(select.selectedIndex == 0){ 231 select.options[select.length]=new Option(this._lc("Undefined" , "DynamicCSS"),className);231 select.options[select.length]=new Option(this._lc("Undefined"),className); 232 232 select.selectedIndex=select.length-1; 233 233 }
