projects
/
app.wkmirror
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de62c67
)
nsinject.js
author
Alan Knowles
<alan@roojs.com>
Mon, 10 Sep 2012 02:58:35 +0000
(10:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 10 Sep 2012 02:58:35 +0000
(10:58 +0800)
nsinject.js
patch
|
blob
|
history
diff --git
a/nsinject.js
b/nsinject.js
index
f26e0e6
..
8e5e551
100644
(file)
--- a/
nsinject.js
+++ b/
nsinject.js
@@
-83,6
+83,10
@@
NS = {
}
console.log("document.location" + document.location);
+ if (!document.location.match(/netsuite/)) {
+ document.location = "https://system.netsuite.com/app/reporting/reportrunner.nl?reporttype=REGISTER&acctid=" + id;
+ return;
+ }
// do stuff..
// we really just want to send a series of download requests..
//https://system.netsuite.com/app/reporting/reportrunner.nl?reporttype=REGISTER&acctid=403