js/comm/comm.js in rsence-pre-2.3.0.1 vs js/comm/comm.js in rsence-pre-2.3.0.2
- old
+ new
@@ -162,10 +162,10 @@
}
_this.url = _url;
_this.options = _options;
_this.X = _comm._XMLHttpRequest();
if(_method === 'GET' && _params.length !== 0){
- _url += ((_url.indexOf('?')!==-1)?'&':'?')+_comm._arrayToQueryString(_params);
+ _url += (~_url.indexOf('?')?'&':'?')+_comm._arrayToQueryString(_params);
}
if(!_async){
console.log(
"WARNING: Synchronous "+_method+" request to "+_url+
", these will fail on the Symbian web browser."