Changeset 13687
- Timestamp:
- 05/11/08 08:43:31 (5 days ago)
- Files:
-
- 1 modified
-
dijit/trunk/_editor/plugins/FontChoice.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/_editor/plugins/FontChoice.js
r13315 r13687 130 130 if(!_e || !_e.isLoaded || !_c.length){ return; } 131 131 if(this.button){ 132 var value = _e.queryCommandValue(this.editor._normalizeCommand(_c)) || ""; 132 var value; 133 try{ 134 value = _e.queryCommandValue(_c) || ""; 135 }catch(e){ 136 //Firefox may throw error above if the editor is just loaded, ignore it 137 value = ""; 138 } 133 139 // strip off single quotes, if any 134 140 var quoted = dojo.isString(value) && value.match(/'([^']*)'/);