namibia
Diff Revisions
3ee727 ...
vs
14f241 ...
for public/js/app/workspace.js
|
@@ -1155,12 +1155,13 @@ |
1155 |
1155 |
|
taskContractError : function( response ) |
1156 |
1156 |
|
{ |
1157 |
1157 |
|
console.log(response); |
|
1158 |
+ |
console.log(window.location.hostname); |
1158 |
1159 |
|
App.API.getTask( |
1159 |
1160 |
|
'getActiveAccount', 'User', 'Profile.ActiveAccount', null, |
1160 |
1161 |
|
{}, function() { |
1161 |
1162 |
|
if ('namibia.nirph.com' != window.location.hostname |
1162 |
1163 |
|
&& 'namibia.local' != window.location.hostname |
1163 |
|
- |
&& 'bid4cars.com.na' != window.location.hostname) |
|
1164 |
+ |
&& 'www.bid4cars.com.na' != window.location.hostname) |
1164 |
1165 |
|
{ |
1165 |
1166 |
|
alert('Please click ok to refresh this page.'); |
1166 |
1167 |
|
location.reload(); |
|
@@ -1176,12 +1177,13 @@ |
1176 |
1177 |
|
taskExecError : function( response ) |
1177 |
1178 |
|
{ |
1178 |
1179 |
|
console.log(response); |
|
1180 |
+ |
console.log(window.location.hostname); |
1179 |
1181 |
|
App.API.getTask( |
1180 |
1182 |
|
'getActiveAccount', 'User', 'Profile.ActiveAccount', null, |
1181 |
1183 |
|
{}, function() { |
1182 |
1184 |
|
if ('namibia.nirph.com' != window.location.hostname |
1183 |
1185 |
|
&& 'namibia.local' != window.location.hostname |
1184 |
|
- |
&& 'bid4cars.com.na' != window.location.hostname) |
|
1186 |
+ |
&& 'www.bid4cars.com.na' != window.location.hostname) |
1185 |
1187 |
|
{ |
1186 |
1188 |
|
alert('Please click ok to refresh this page.'); |
1187 |
1189 |
|
location.reload(); |