rem: dbforms2_log.log('dbforms2_loader::_sarissaOnSaveCallback'); 
context: function dbforms2_transport() {    this.data = null;    this.dataLoaded = false;    this.dataSaved = false;    this.onLoadCallback = null;    this.onSaveCallback = null;        this.loadXML = function(dataURI) {        this.data = Sarissa.getDomDocument();            var wrappedCallback = new ContextFixer(this._sarissaOnLoadCallback, this);        this.data.onreadystatechange = wrappedCallback.execute;                dbforms2_log.log('loading ' + dataURI + '...')        this.dataLoaded = false;        this.data.load(dataURI);    }        this.saveXML = function(dataURI, xml) {        this.data = new XMLHttpRequest();        var wrappedCallback = new ContextFixer(this._sarissaOnSaveCallback, this);        this.data.onreadystatechange = wrappedCallback.execute;                this.dataSaved = false;        this.data.open('POST', dataURI);        this.data.send(xml);    }        this.saveXMLSync = function(dataURI, xml) {        this.data = new XMLHttpRequest();        this.data.open('POST', dataURI, false);        this.data.send(xml);        response = new dbforms2_response();        response.setXML(this.data.responseXML);                return response;            }        this._sarissaOnLoadCallback = function() {        dbforms2_log.log('dbforms2_loader::_sarissaOnLoadCallback');        if(this.data.readyState == 4 && !this.dataLoaded && this.data.documentElement) {            dbforms2_log.log('data loaded');            this.dataLoaded = true;            // call document ready callback when the document has been loaded            if (this.onLoadCallback != null && typeof this.onLoadCallback == "function")                this.onLoadCallback();        }    }    this._sarissaOnSaveCallback = function() {        dbforms2_log.log('dbforms2_loader::_sarissaOnSaveCallback');                if(this.data.readyState == 4 && !this.dataSaved) {            dbforms2_log.log('data saved');            this.dataSaved = true;             response = new dbforms2_response();            response.setXML(this.data.responseXML);                        dbforms2_log.log('response = ' + dbforms2_common.serializeToString(this.data.responseXML));            // call document ready callback when the document has been saved            if (this.onSaveCallback != null && typeof this.onSaveCallback == "function")                this.onSaveCallback(response);        }    }}
meta: 6621	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6621/9d855873935294e3cf9861035ebb7d088a3ea02c/transport.js/clean/webinc/plugins/dbforms2/transport.js