|
From: <ma...@us...> - 2010-11-28 17:44:24
|
Revision: 172
http://openautomation.svn.sourceforge.net/openautomation/?rev=172&view=rev
Author: mayerch
Date: 2010-11-28 17:44:18 +0000 (Sun, 28 Nov 2010)
Log Message:
-----------
Sanity check to avoid the
this.xhr.abort is not a function
error
Modified Paths:
--------------
CometVisu/trunk/visu/lib/cometvisu-client.js
Modified: CometVisu/trunk/visu/lib/cometvisu-client.js
===================================================================
--- CometVisu/trunk/visu/lib/cometvisu-client.js 2010-11-28 17:26:04 UTC (rev 171)
+++ CometVisu/trunk/visu/lib/cometvisu-client.js 2010-11-28 17:44:18 UTC (rev 172)
@@ -137,7 +137,7 @@
this.stop = function()
{
this.running = false;
- this.xhr.abort();
+ if( this.xhr.abort ) this.xhr.abort();
//alert('this.stop');
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|