Index: lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as =================================================================== diff -u -r71f7f86fa0f3c8b4cd5a2f7b6ae857f1b4481bd3 -r99779d71e5f09deeefcb264572f740b02ced2542 --- lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as (.../Communication.as) (revision 71f7f86fa0f3c8b4cd5a2f7b6ae857f1b4481bd3) +++ lams_common/src/flash/org/lamsfoundation/lams/common/comms/Communication.as (.../Communication.as) (revision 99779d71e5f09deeefcb264572f740b02ced2542) @@ -30,8 +30,10 @@ private var queue:Array; private var queueID:Number; - //so compiler can see application when not in LAMS - private var Application; + //so compiler can see application when not in LAMS - but this overwrites the actual ref... need to think about this one + //TODO: Fix the above + //private var _app:Application; + //private var Application; /** @@ -40,6 +42,8 @@ function Communication(aServerURL:String){ trace('Communication.constructor'); + //_app = Application.getInstance(); + //Set up queue queue=[]; queueID=0; @@ -84,9 +88,9 @@ * @returns Void */ public function getRequest(requestURL:String,handler:Function,isFullURL:Boolean):Void{ - if(Application != null){ + //if(Application != null){ Cursor.showCursor(Application.C_HOURGLASS); - } + //} //Create XML response object var responseXML = new XML(); responseXML.ignoreWhite = ignoreWhite; @@ -268,9 +272,9 @@ //Set ondata handler to validate data returned in XML object xmlObject.onData = function(src){ //Debugger.log('src:'+src,Debugger.GEN,' xmlObject.onData ','Communication'); - if(Application != null){ + //if(Application != null){ Cursor.showCursor(Application.C_DEFAULT); - } + // } if (src != undefined) { //Check for login page if(src.indexOf("j_security_login_page") != -1){