X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-core-debug.js;h=189e93d749427bb8db9ada1997e1600bb7f43a0b;hb=7c5c5e78c540179da19c9417b1c04eac05a253be;hp=fbab78470411dc3dc447dbb2f5ebb9027ef4c07f;hpb=9ffb95fe6343d9f1c28eca6964f2e25cafacf588;p=roojs1
diff --git a/roojs-core-debug.js b/roojs-core-debug.js
index fbab784704..189e93d749 100644
--- a/roojs-core-debug.js
+++ b/roojs-core-debug.js
@@ -343,10 +343,6 @@ Roo.factory(conf, Roo.data);
return; // alerT?
}
- if(window.location.href.indexOf("localhost") == -1) {
- return;
- }
-
console.log(s);
},
/**
@@ -4671,6 +4667,7 @@ Roo.Template.prototype = {
* @return {String} The HTML fragment
*/
applyTemplate : function(values){
+ //Roo.log(["applyTemplate", values]);
try {
if(this.compiled){
@@ -6077,10 +6074,10 @@ Roo.util.Observable.releaseCapture = function(o){
var ls = this.listeners, scope, len = ls.length;
if(len > 0){
this.firing = true;
- var args = Array.prototype.slice.call(arguments, 0);
+ var args = Array.prototype.slice.call(arguments, 0);
for(var i = 0; i < len; i++){
- var l = ls[i];
- if(l.fireFn.apply(l.scope||this.obj||window, arguments) === false){
+ var l = ls[i];
+ if(l.fireFn.apply(l.scope||this.obj||window, args) === false){
this.firing = false;
return false;
}
@@ -9130,8 +9127,6 @@ if(opt.anim.isAnimated()){
this._mask = Roo.DomHelper.append(this.dom, {cls:"roo-el-mask"}, true);
}
- this._mask.dom.className = msgCls ? "roo-el-mask " + msgCls : "roo-el-mask";
-
this.addClass("x-masked");
this._mask.setDisplayed(true);
@@ -11477,16 +11472,17 @@ Roo.CompositeElementLite.prototype.on = Roo.CompositeElementLite.prototype.addLi
* @class Roo.data.Connection
* @extends Roo.util.Observable
* The class encapsulates a connection to the page's originating domain, allowing requests to be made
- * either to a configured URL, or to a URL specified at request time.
- *
+ * either to a configured URL, or to a URL specified at request time. + * * Requests made by this class are asynchronous, and will return immediately. No data from * the server will be available to the statement immediately following the {@link #request} call. - * To process returned data, use a callback in the request options object, or an event listener.
+ * To process returned data, use a callback in the request options object, or an event listener. + * * Note: If you are doing a file upload, you will not get a normal response object sent back to * your callback or event handler. Since the upload is handled via in IFRAME, there is no XMLHttpRequest. * The response object is created using the innerHTML of the IFRAME's document as the responseText - * property and, if present, the IFRAME's XML document as the responseXML property.