/dev/trunk

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

« back to all changes in this revision

Viewing changes to js/xmlmodule.js

  • Committer: Suren A. Chilingaryan
  • Date: 2010-08-13 14:18:27 UTC
  • Revision ID: csa@dside.dyndns.org-20100813141827-u3o97425ppvd5g7y
Revert back to SetConfiguration from SetCustomProperties while handling certain property in search; trully support HTML content in description field within search results; support execution in XMLModule; support for setup-specific javascript code; KATRIN update

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    else this.root_node = document.getElementById(root_node);
11
11
    
12
12
    this.module_type = HISTORY_MODULE_TYPE;
 
13
 
 
14
    this.jsexec = false;
 
15
}
 
16
 
 
17
XMLMODULE.prototype.EnableJS = function() {
 
18
    this.jsexec = true;
13
19
}
14
20
 
15
21
XMLMODULE.prototype.Update = function(json, forced) {
16
22
    if ((json.xml)&&(json.xslt)) {
17
 
        adei.UpdateDIV(this.div, json.xml, json.xslt);
 
23
        adei.UpdateDIV(this.div, json.xml, json.xslt, this.jsexec);
18
24
        adei.SetSuccessStatus(translate("Done"));
19
25
    } else {
20
26
        adei.SetStatus(translate("Update failed: Incomplete response received by the module"));