Permalink
Browse files

PHZH: clearing username/pw text fields -> version 1.6

  • Loading branch information...
1 parent ccd2760 commit 1d73a192cc252e87ff224d26c41b9a054b50b645 mliyanage committed Nov 5, 2008
Showing with 15 additions and 11 deletions.
  1. +3 −3 Info.plist
  2. +4 −4 css/main.css
  3. +8 −4 js/main.js
View
@@ -30,10 +30,10 @@
<key>MainHTML</key>
<string>main.html</string>
<key>CFBundleVersion</key>
- <string>1.5</string>
+ <string>1.6</string>
<key>TargetCFBundleShortVersionString</key>
- <string>1.5</string>
+ <string>1.6</string>
<key>CFBundleShortVersionString</key>
- <string>1.5, ©2006-2008 futureLAB AG</string>
+ <string>1.6, ©2006-2008 futureLAB AG</string>
</dict>
</plist>
View
@@ -24,17 +24,17 @@ div#listPrinters {
}
div#error {
- color: red;
+ color: #FFB188;
position: absolute;
- left: 100px;
+ left: 102px;
bottom: 70px;
width: 200px;
}
div#status {
position: absolute;
- left: 100px;
- bottom: 100px;
+ left: 102px;
+ bottom: 110px;
width: 200px;
}
View
@@ -3,12 +3,15 @@
futureLAB AG, Marc Liyanage <mliyanage@futurelab.ch>
*/
-var globalProgressIndicator;
-var WIDGET_VERSION;
-var PRINTER_PREFIX = 'phzhprint';
+
var PRINTSERVER = 'gutenberg.org.phzh.int';
var PRINTPPD = '/Library/Printers/PPDs/Contents/Resources/en.lproj/hp LaserJet 3015.gz';
var PRINTQUEUE = 'DS114232';
+
+
+var globalProgressIndicator;
+var WIDGET_VERSION;
+var PRINTER_PREFIX = 'phzhprint';
var CONFIGURED_USERNAME;
@@ -100,6 +103,7 @@ function createPrinterCallback(systemCall) {
}
alert('Printer created');
updateStatus();
+ $N('username').value = $N('password').value = '';
}
@@ -139,7 +143,7 @@ function findWidgetVersionCallback(systemCall) {
// Utility DOM functions
function $N(name) {
- return document.getElementsByName(name).item(0);
+ return $(document.getElementsByName(name).item(0));
}
// Utility functions

0 comments on commit 1d73a19

Please sign in to comment.