pari: trunk r1010 - /trunk/config/feditor.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed May 30 18:48:20 MST 2007


Author: pari
Date: Wed May 30 20:48:19 2007
New Revision: 1010

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1010
Log:
update fileeditor to window resolution

Modified:
    trunk/config/feditor.html

Modified: trunk/config/feditor.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/feditor.html?view=diff&rev=1010&r1=1009&r2=1010
==============================================================================
--- trunk/config/feditor.html (original)
+++ trunk/config/feditor.html Wed May 30 20:48:19 2007
@@ -106,6 +106,8 @@
 }
 
 function localajaxinit() {
+	var adjust_toScreen = function(){ _$('file_output').style.height = (window.innerHeight -75) + 'px'; }
+	add_event( window , 'resize', adjust_toScreen);
 	top._$('mainscreen').width= 798;
 	setWindowTitle("File Editor");
 	load_recordedfiles();
@@ -291,11 +293,6 @@
 		}
 	}
 
-
-	var space = document.createElement("div");
-	space.style.height = '50px';
-	zz.appendChild(space);
-
 }
 
 function stopBubble(b) {



More information about the asterisk-gui-commits mailing list