[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] admin/web/build/mserver mongraph.nc.html,1.9,1.10
From:       tniu () helixcommunity ! org
Date:       2013-02-28 3:45:06
[Download RAW message or body]

Update of /cvsroot/server/admin/web/build/mserver
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv19636/mserver

Modified Files:
	mongraph.nc.html 
Log Message:

Synopsis: 
===============
CR: fix bug 270811: undefined title - no refresh possible in Helix Monitor .

Branch: SERVER_15_0_RN, HEAD

Suggested Reviewers: Anyone

Description: 
===============
In the new Helix Monitor (see attached) the title of the pop-up window is "undefined" \
- This should be either removed or changed to the name of the location of the Server \
monitor (e.g. Servername).

Also, as the monitor is now in a pop-up window there are no "page refresh" 
options as you have in a normal web browser. If there is an issue with the monitor a \
error message is shown which says "Error: Connection to the server is lost. Refresh \
this page" - This is not possible. We should look to offer a "Page Refresh" link on \
the monitor page itself so users can click to refresh the page.

Solution:
===============
1. Set page title for server monitor.
2. About "Page Refresh" option, when encountering "Error: Connection to the server is \
lost", it is unuseful to refresh page, now we should logon server again. So I change \
the prompt to "Connection to server lost. Please logon again.", instead of \
"Connection to server lost. Refresh this page.".

Files affected
======================
server/admin/web/src/srvprxy/mongraph.nc.html.wasm
server/admin/web/build/server/mongraph.nc.html
server/admin/web/build/mserver/mongraph.nc.htm
server/admin/web/monitor/MsgListener.java
server/admin/web/monitor/Monitor.jar

Test perform
================
Integration Tests:
In the Helix Monitor the title of the pop-up window is defined.

Performance Tests: 
N/A

QA Hints
========
None

Index: mongraph.nc.html
===================================================================
RCS file: /cvsroot/server/admin/web/build/mserver/mongraph.nc.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mongraph.nc.html	5 Sep 2012 14:00:19 -0000	1.9
+++ mongraph.nc.html	28 Feb 2013 03:44:48 -0000	1.10
@@ -44,6 +44,9 @@
 		top.theCookieJar.store();
 	}
 }
+
+var origTitle = "Helix Administrator: " + location.hostname ;
+document.write( "<TITLE>" + origTitle + "</TITLE>" );
 </SCRIPT>
 
 </HEAD>


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic