/adei/ui

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/ui

« back to all changes in this revision

Viewing changes to js/config.js

  • Committer: Suren A. Chilingaryan
  • Date: 2008-04-20 05:22:25 UTC
  • Revision ID: csa@dside.dyndns.org-20080420052225-enu1yngq1pny531z
Layout redesign: search tab, controls, menu

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
    this.confirmed = 0;
46
46
    this.initializing = true;
 
47
    this.ready = false;
47
48
 
48
49
    this.objlist = new Array;
49
50
    
248
249
*/
249
250
 
250
251
CONFIG.prototype.SetupGeometry = function(node, y) {
 
252
        /* correction in IE required */
251
253
    if (typeof node == "object") {
252
 
        this.cfg.frame_width = node.offsetWidth - 5;
253
 
        this.cfg.frame_height = node.offsetHeight - 5;
 
254
        this.cfg.frame_width = node.offsetWidth;
 
255
        this.cfg.frame_height = node.offsetHeight;
254
256
    } else {
255
 
        this.cfg.frame_width = node - 5;
256
 
        this.cfg.frame_height = y - 5;
 
257
        this.cfg.frame_width = node;
 
258
        this.cfg.frame_height = y;
257
259
    }
258
260
}
259
261
 
453
455
        if (this.initializing) {
454
456
            this.initializing = false;
455
457
            this.Load();
 
458
 
 
459
            this.ready = true;
456
460
        } else if (this.onConfirmation) {
457
461
            var func = this.onConfirmation;
458
462
            this.onConfirmation = null;