Remove uneeded mootools functions and used compressed version.

This commit is contained in:
Joel Martin
2010-04-15 12:28:53 -05:00
parent 7345dba44c
commit 14b665f1da
6 changed files with 196 additions and 2333 deletions
+4 -5
View File
@@ -28,7 +28,6 @@
</body>
<script src="include/mootools.js"></script>
<script src="include/mootools-more.js"></script>
<script src="include/base64.js"></script>
<script src="include/des.js"></script>
<script src="include/util.js"></script>
@@ -38,10 +37,10 @@
<script>
window.onload = function() {
console.log("onload");
var uri = new URI(window.location);
$('host').value = uri.getData("host") || '';
$('port').value = uri.getData("port") || '';
$('password').value = uri.getData("password") || '';
var url = document.location.href;
$('host').value = (url.match(/host=([^&#]*)/) || ['',''])[1];
$('port').value = (url.match(/port=([^&#]*)/) || ['',''])[1];
$('password').value = (url.match(/password=([^&#]*)/) || ['',''])[1];
}
</script>