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

  • Committer: Suren A. Chilingaryan
  • Date: 2009-01-30 23:56:42 UTC
  • Revision ID: csa@dside.dyndns.org-20090130235642-gw9n5v9y7w23dmmd
Further search improvements, support for custom properties (config)

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        'zoom_ratio': 2,
44
44
        'query': null
45
45
    });
 
46
 
46
47
    
47
48
    if (typeof session_id == "undefined")
48
49
        this.adei_session = Math.floor(Math.random() * 4294967295);
182
183
}
183
184
 
184
185
 
 
186
ADEI.prototype.RegisterCustomProperty = function (property, default_value, extra) {
 
187
    this.config.RegisterCustomProperty(property, default_value, extra);
 
188
}
 
189
 
185
190
ADEI.prototype.RegisterCropperButton = function(button_info) {
186
191
    if (this.graph) {
187
192
        this.graph.RegisterCropperButton(button_info);
400
405
ADEI.prototype.SetConfiguration = function(query) {
401
406
    this.config.Load(query, true);
402
407
}
 
408
 
 
409
ADEI.prototype.SetCustomProperties = function(query) {
 
410
    this.config.Load(query, true, true);
 
411
}