|
|
|
@ -7,6 +7,7 @@
@@ -7,6 +7,7 @@
|
|
|
|
|
<link rel="stylesheet" href="css/style.css" type="text/css" /> |
|
|
|
|
<script src="scripts/lib/mootools-1.2-core-yc.js"></script> |
|
|
|
|
<script src="scripts/lib/mootools-1.2-more.js"></script> |
|
|
|
|
<script src="scripts/misc.js"></script> |
|
|
|
|
<script> |
|
|
|
|
var setLocationKeyboardEvents = new Keyboard({ |
|
|
|
|
defaultEventType: 'keydown', |
|
|
|
@ -20,6 +21,11 @@
@@ -20,6 +21,11 @@
|
|
|
|
|
setLocationKeyboardEvents.activate(); |
|
|
|
|
|
|
|
|
|
window.addEvent('domready', function() { |
|
|
|
|
var path = new URI().getData('path'); |
|
|
|
|
// set text field to current value |
|
|
|
|
if (path) |
|
|
|
|
$('setLocation').value = escapeHtml(decodeURIComponent(path)); |
|
|
|
|
|
|
|
|
|
$('setLocation').focus(); |
|
|
|
|
$('setLocationButton').addEvent('click', function(e) { |
|
|
|
|
new Event(e).stop(); |
|
|
|
@ -48,7 +54,7 @@
@@ -48,7 +54,7 @@
|
|
|
|
|
<body> |
|
|
|
|
<div style="padding: 10px 10px 0px 10px;"> |
|
|
|
|
<p style="font-weight: bold;">QBT_TR(Location)QBT_TR[CONTEXT=TransferListWidget]:</p> |
|
|
|
|
<input type="text" id="setLocation" value="" maxlength="100" style="width: 220px;" /> |
|
|
|
|
<input type="text" id="setLocation" value="" maxlength="100" style="width: 370px;" /> |
|
|
|
|
<div style="text-align: center; padding-top: 10px;"> |
|
|
|
|
<input type="button" value="QBT_TR(Save)QBT_TR[CONTEXT=HttpServer]" id="setLocationButton" /> |
|
|
|
|
</div> |
|
|
|
|