/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/menu.js

  • Committer: Suren A. Chilingaryan
  • Date: 2008-10-30 01:27:40 UTC
  • mto: This revision was merged to the branch mainline in revision 116.
  • Revision ID: csa@dside.dyndns.org-20081030012740-svt0yigxj5uzwxyj
Few steps on source tree integration in javascript frontend

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    this.exporter = exp;
52
52
}
53
53
 
 
54
MENU.prototype.OnLoad = function(self) {
 
55
    return function() {
 
56
        if (adei.cfg.menu_scroll_limit) {
 
57
            self.aMenuBar.setOverflowHeight(adei.cfg.menu_scroll_limit);
 
58
        }
 
59
    }
 
60
}
54
61
 
55
62
MENU.prototype.ReLoad = function() {
56
 
    this.aMenuBar.loadXML(adei.GetServiceURL("menu"));
 
63
    this.aMenuBar.loadXML(adei.GetServiceURL("menu"), this.OnLoad(this));
57
64
//    this.aMenuBar.enableDynamicLoading(adei.GetServiceURL("menu"));
58
65
//    this.aMenuBar.showBar();
59
66
    // fix popups if placed in sidebar which is in super mode