Send Netdot-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."
Today's Topics:
1. [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.4-115-g8498b7a ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 4 Nov 2013 07:27:15 -0800
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.4-115-g8498b7a
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot".
The branch, netdot-1.0 has been updated
via 8498b7a71c4c99e0d10415fa13f168c54a39dee6 (commit)
from 19ef20a3420cfb7a042712c40524a3578bfd728e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8498b7a71c4c99e0d10415fa13f168c54a39dee6
Author: Carlos Vicente <[email protected]>
Date: Wed Oct 30 23:24:01 2013 -0400
Fixed problem with JS parameters when adding IP service from device page
diff --git a/htdocs/management/addservice.html
b/htdocs/management/addservice.html
index 87b8e53..b623aa8 100644
--- a/htdocs/management/addservice.html
+++ b/htdocs/management/addservice.html
@@ -53,7 +53,7 @@ my $newsrvid;
# when the last request was a POST
my $bodyargs;
if ( $Add ){
- $bodyargs =
"onUnload=\"opener.location.replace('$url');opener.location.reload()\"";
+ $bodyargs =
"onUnload=\"opener.location.href=decodeURI('$url');opener.location.reload()\"";
} else {
$bodyargs = '';
}
diff --git a/htdocs/management/device.html b/htdocs/management/device.html
index 1028ea4..80dc04c 100644
--- a/htdocs/management/device.html
+++ b/htdocs/management/device.html
@@ -1085,7 +1085,7 @@ if (scalar @$ips){
}
}
if ( !$editips && $can_edit ){
- $a .= "<a class=\"hand\"
onClick=\"window.open('addservice.html?ip=$ip&url=$refresh_url', 'Create IP
service', 'width=400,height=200')\">[add]</a>";
+ $a .= "<a class=\"hand\"
onClick=\"window.open('addservice.html?ip=$ip&url='+encodeURI('$refresh_url'),'Create
IP service','width=400,height=200')\">[add]</a>";
}
$a;
}} );
-----------------------------------------------------------------------
Summary of changes:
htdocs/management/addservice.html | 2 +-
htdocs/management/device.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 80, Issue 3
*******************************************