/adei/trunk

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

« back to all changes in this revision

Viewing changes to js/infotab.js

  • Committer: Suren A. Chilingaryan
  • Date: 2012-10-31 20:11:03 UTC
  • Revision ID: csa@dside.dyndns.org-20121031201103-gwzrqhwta2i3i6tz
Histogram view (based on the code by Hovhannes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
INFOTAB.prototype.OptionsUpdater = function(id, val) {
227
227
    adei.RegisterExtraProperty(id);
228
228
 
 
229
    if (typeof val == "boolean") {
 
230
        if (val) val = 1;
 
231
        else val = 0;
 
232
    }
 
233
 
229
234
    adei.SetCustomProperties(id + "=" + val, false);
230
235
 
231
236
    this.displayed = true;