/[webpac2]/Webpacus/root/editor/editor.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/root/editor/editor.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 163 by dpavlin, Sat Nov 26 18:18:10 2005 UTC revision 164 by dpavlin, Sat Nov 26 20:21:49 2005 UTC
# Line 57  function edit_template() { Line 57  function edit_template() {
57          Element.addClassName('a_template', 'tab_selected');          Element.addClassName('a_template', 'tab_selected');
58          $('div_template').style.visibility = "visible";          $('div_template').style.visibility = "visible";
59          Logger.debug("switched to template editor");          Logger.debug("switched to template editor");
60          $('template_content').focus();          var c = $('template_content');
61            if (c) c.focus();
62          return false;          return false;
63  }  }
64    
# Line 67  function edit_css() { Line 68  function edit_css() {
68          Element.addClassName('a_css', 'tab_selected');          Element.addClassName('a_css', 'tab_selected');
69          $('div_css').style.visibility = "visible";          $('div_css').style.visibility = "visible";
70          Logger.debug("switched to CSS editor");          Logger.debug("switched to CSS editor");
71          $('css_content').focus();          var c = $('css_content');
72            if (c) c.focus();
73          return false;          return false;
74  }  }
75    
# Line 138  function init_page() { Line 140  function init_page() {
140    
141  //      Position.clone('div_template', 'div_css');  //      Position.clone('div_template', 'div_css');
142    
143            edit_template();
144    
145          // load css editor          // load css editor
146          load_css();          load_css();
147    

Legend:
Removed from v.163  
changed lines
  Added in v.164

  ViewVC Help
Powered by ViewVC 1.1.26