/dev/adei/adei-asec-setup

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/adei/adei-asec-setup

« back to all changes in this revision

Viewing changes to js/config.js

  • Committer: Artur Reymers
  • Date: 2014-07-26 19:21:51 UTC
  • Revision ID: remoart@gmail.com-20140726192151-4dr2sijp40wccibw
Add: Links to wiki pages and files

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
}
268
268
 
269
269
 
270
 
CONFIG.prototype.SetAggregationSettings = function(a, i, marks, gaps) {
 
270
CONFIG.prototype.SetAggregationSettings = function(a, i, marks, gaps, fonts) {
271
271
    if (a) this.cfg.aggregation = a;
272
272
    if (i) this.cfg.interpolate = i;
273
273
    if (marks) this.cfg.show_marks = marks;
274
274
    if (gaps) this.cfg.show_gaps = gaps;
 
275
    if (fonts) this.cfg.font_size = fonts;
275
276
}
276
277
 
277
278
 
543
544
            if (this.cfg.interpolate) res += "&interpolate=" + this.cfg.interpolate;
544
545
            if (this.cfg.show_marks) res += "&show_gaps=" + this.cfg.show_marks;
545
546
            if (this.cfg.show_gaps) res += "&show_gaps=" + this.cfg.show_gaps;
 
547
            if (this.cfg.font_size) res += "&font_size=" + this.cfg.font_size;
546
548
            if (this.cfg.module) res+= "&module=" + this.cfg.module;
547
549
            if (this.cfg.virtual) {
548
550
                res += "&virtual=" + this.cfg.virtual;