/[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 187 by dpavlin, Sun Nov 27 22:10:36 2005 UTC revision 191 by dpavlin, Tue Nov 29 13:04:44 2005 UTC
# Line 32  function load_rec(nr, tmp_template_filen Line 32  function load_rec(nr, tmp_template_filen
32    
33          if (loading.record) {          if (loading.record) {
34                  Logger.info('loading of record '+nr+' skipped, load in progress');                  Logger.info('loading of record '+nr+' skipped, load in progress');
35                  return;                  return false;
36          }          }
37    
38          show_working();          show_working();
# Line 62  function load_rec(nr, tmp_template_filen Line 62  function load_rec(nr, tmp_template_filen
62                  }                  }
63          } ) ;          } ) ;
64    
65            return false;
66  }  }
67    
68  function inc_rec() {  function inc_rec() {
# Line 189  function load_css(css_filename) { Line 190  function load_css(css_filename) {
190                          loading.css = 0;                          loading.css = 0;
191                          hide_working();                          hide_working();
192                          Logger.info('load_css.onLoaded: '+css_filename);                          Logger.info('load_css.onLoaded: '+css_filename);
193                            Element.clone('div_template', 'div_css');
194                  }                  }
195          } ) ;          } ) ;
196  };  };
# Line 196  function load_css(css_filename) { Line 198  function load_css(css_filename) {
198  function reload_css() {  function reload_css() {
199    
200          css_rnd++;          css_rnd++;
201          Logger.info('loading user.css?'+css_rnd);          var css_url = url + 'css/user.css?'+css_rnd;
202          $('user_css_link').href = 'css/user.css?'+css_rnd;          Logger.info('reload_css from '+css_url);
203            $('user_css_link').href = css_url;
204    
205          return false;          return false;
206  }  }

Legend:
Removed from v.187  
changed lines
  Added in v.191

  ViewVC Help
Powered by ViewVC 1.1.26