Add simpleid-1.0.5
diff --git a/simpleid/www/extensions/ui/ui.js b/simpleid/www/extensions/ui/ui.js
new file mode 100644
index 0000000..1711d13
--- /dev/null
+++ b/simpleid/www/extensions/ui/ui.js
@@ -0,0 +1,22 @@
+/*
+ * SimpleID
+ *
+ * Copyright (C) Kelvin Mo 2009
+ *
+ * This program is licensed under the GPL.
+ *
+ * $Id$
+ */
+
+$(document).ready(function() {
+ $('input#edit-cancel').click(function() {
+ window.close();
+ return false;
+ });
+ $(document).keydown(function(e) {
+ if (e.which == 27) { // Close the window if user presses Esc
+ window.close();
+ return false;
+ }
+ });
+});