You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2013/05/04 16:08:14 UTC
svn commit: r1479112 - in /openmeetings/branches/2.1:
WebContent/openmeetings/ WebContent/openmeetings/images/ WebContent/src/ src/
Author: solomax
Date: Sat May 4 14:08:13 2013
New Revision: 1479112
URL: http://svn.apache.org/r1479112
Log:
Ajax-loader is added to be displayed while swf's are loaded.
Added:
openmeetings/branches/2.1/WebContent/openmeetings/images/
openmeetings/branches/2.1/WebContent/openmeetings/images/ajax-loader.gif (with props)
Modified:
openmeetings/branches/2.1/WebContent/openmeetings/embed-compressed.js
openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js
openmeetings/branches/2.1/WebContent/src/main.lzx
openmeetings/branches/2.1/src/usual_template.vm
Modified: openmeetings/branches/2.1/WebContent/openmeetings/embed-compressed.js
URL: http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/openmeetings/embed-compressed.js?rev=1479112&r1=1479111&r2=1479112&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/openmeetings/embed-compressed.js (original)
+++ openmeetings/branches/2.1/WebContent/openmeetings/embed-compressed.js Sat May 4 14:08:13 2013
@@ -383,7 +383,7 @@ return "http";break;
}},__getCSSValue:function($1){
if($1&&$1.length&&$1.indexOf("%")!=-1){
-return "100%"
+return "1px"
}else{
return $1+"px"
}},write:function($1,$2){
Added: openmeetings/branches/2.1/WebContent/openmeetings/images/ajax-loader.gif
URL: http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/openmeetings/images/ajax-loader.gif?rev=1479112&view=auto
==============================================================================
Binary file - no diff available.
Propchange: openmeetings/branches/2.1/WebContent/openmeetings/images/ajax-loader.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js
URL: http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js?rev=1479112&r1=1479111&r2=1479112&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js (original)
+++ openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js Sat May 4 14:08:13 2013
@@ -40,6 +40,13 @@ function redirectToUrl(url) {
document.getElementById("lzapp").redirectToUrlCallback("ok");
}
+function loadingComplete() {
+ document.getElementById("loading").style.display = 'none';
+ var lzApp = document.getElementById("lzappContainer");
+ lzApp.style.width = '100%';
+ lzApp.style.height = '100%';
+}
+
function getTimeZoneOffset() {
var rightNow = new Date(), std_time_offset = -rightNow.getTimezoneOffset() / 60;
for (var i = 0; i < 12; ++i) {
Modified: openmeetings/branches/2.1/WebContent/src/main.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/src/main.lzx?rev=1479112&r1=1479111&r2=1479112&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/src/main.lzx (original)
+++ openmeetings/branches/2.1/WebContent/src/main.lzx Sat May 4 14:08:13 2013
@@ -51,6 +51,7 @@
<!-- main colors: 264269 -->
<handler name="oninit">
+ flash.external.ExternalInterface.call("loadingComplete");
doDebugInit();
var cmenu = new LzContextMenu();
canvas.setDefaultContextMenu(cmenu);
Modified: openmeetings/branches/2.1/src/usual_template.vm
URL: http://svn.apache.org/viewvc/openmeetings/branches/2.1/src/usual_template.vm?rev=1479112&r1=1479111&r2=1479112&view=diff
==============================================================================
--- openmeetings/branches/2.1/src/usual_template.vm (original)
+++ openmeetings/branches/2.1/src/usual_template.vm Sat May 4 14:08:13 2013
@@ -108,6 +108,7 @@ img {
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="middle" height="100%" width="100%"></div>
-->
+ <div id="loading" style="z-index: 666666; position: absolute; top: 50%; left: 50%;"><img src="images/ajax-loader.gif"/></div>
<noscript>Please enable JavaScript in order to use this
application.</noscript>
</body>