Ignore:
Timestamp:
11/11/08 00:24:51 (11 years ago)
Author:
ray
Message:
  • #326 make it possible to choose from different icon sets
  • #1323 allow skins to have meta information (author, etc.)
  • #1322 [SaveSubmit?] error when form action is empty
  • #1321 [SaveSubmit?] icon is in "changed" state initially
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/FullScreen/full-screen.js

    r1109 r1113  
    55  var cfg = editor.config; 
    66 
     7  cfg.registerIcon('fullscreen', [_editor_url + cfg.imgURL + 'ed_buttons_main.png',8,0]); 
     8  cfg.registerIcon('fullscreenrestore', [_editor_url + cfg.imgURL + 'ed_buttons_main.png',9,0]); 
     9   
    710  cfg.registerButton 
    811  ( 'fullscreen', 
    912    this._lc("Maximize/Minimize Editor"), 
    10     [_editor_url + cfg.imgURL + 'ed_buttons_main.png',8,0], true, 
     13    cfg.iconList.fullscreen, true, 
    1114      function(e, objname, obj) 
    1215      { 
     
    5760    e.sizeEditor(w + 'px', h + 'px',true,true); 
    5861    e._sizing = false; 
    59     if ( e._toolbarObjects.fullscreen ) e._toolbarObjects.fullscreen.swapImage([_editor_url + cfg.imgURL + 'ed_buttons_main.png',9,0]);  
     62    if ( e._toolbarObjects.fullscreen ) e._toolbarObjects.fullscreen.swapImage(cfg.iconList.fullscreenrestore);  
    6063  } 
    6164 
     
    6669    e.initSize(); 
    6770    e._sizing = false; 
    68     if ( e._toolbarObjects.fullscreen ) e._toolbarObjects.fullscreen.swapImage([_editor_url + cfg.imgURL + 'ed_buttons_main.png',8,0]);  
     71    if ( e._toolbarObjects.fullscreen ) e._toolbarObjects.fullscreen.swapImage(cfg.iconList.fullscreen);  
    6972  } 
    7073 
Note: See TracChangeset for help on using the changeset viewer.