projects
/
namibia
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ee7277
)
click to refresh errors
author
Mark
<mark@nirph.com>
Tue, 13 Dec 2016 09:13:50 +0000
(11:13 +0200)
committer
Mark
<mark@nirph.com>
Tue, 13 Dec 2016 09:13:50 +0000
(11:13 +0200)
public/js/app/workspace.js
patch
|
blob
|
history
diff --git
a/public/js/app/workspace.js
b/public/js/app/workspace.js
index
1ae932b
..
0088d30
100644
(file)
--- a/
public/js/app/workspace.js
+++ b/
public/js/app/workspace.js
@@
-1155,12
+1155,13
@@
taskContractError : function( response )
{
console.log(response);
taskContractError : function( response )
{
console.log(response);
+ console.log(window.location.hostname);
App.API.getTask(
'getActiveAccount', 'User', 'Profile.ActiveAccount', null,
{}, function() {
if ('namibia.nirph.com' != window.location.hostname
&& 'namibia.local' != window.location.hostname
App.API.getTask(
'getActiveAccount', 'User', 'Profile.ActiveAccount', null,
{}, function() {
if ('namibia.nirph.com' != window.location.hostname
&& 'namibia.local' != window.location.hostname
- && 'bid4cars.com.na' != window.location.hostname)
+ && '
www.
bid4cars.com.na' != window.location.hostname)
{
alert('Please click ok to refresh this page.');
location.reload();
{
alert('Please click ok to refresh this page.');
location.reload();
@@
-1176,12
+1177,13
@@
taskExecError : function( response )
{
console.log(response);
taskExecError : function( response )
{
console.log(response);
+ console.log(window.location.hostname);
App.API.getTask(
'getActiveAccount', 'User', 'Profile.ActiveAccount', null,
{}, function() {
if ('namibia.nirph.com' != window.location.hostname
&& 'namibia.local' != window.location.hostname
App.API.getTask(
'getActiveAccount', 'User', 'Profile.ActiveAccount', null,
{}, function() {
if ('namibia.nirph.com' != window.location.hostname
&& 'namibia.local' != window.location.hostname
- && 'bid4cars.com.na' != window.location.hostname)
+ && '
www.
bid4cars.com.na' != window.location.hostname)
{
alert('Please click ok to refresh this page.');
location.reload();
{
alert('Please click ok to refresh this page.');
location.reload();