diff static/js/common.js @ 303:59e0087c784a

Move javascript directory to js directory We have a nameclash on the server as a common javascript directory is mapped to /javascript. So that we do not clash we use our own one named js.
author David Soria Parra <dsp@php.net>
date Tue, 09 Mar 2010 02:24:24 +0100
parents static/javascript/common.js@6916a7e4fbf0
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/static/js/common.js	Tue Mar 09 02:24:24 2010 +0100
@@ -0,0 +1,7 @@
+var resetted = false;
+function resetBar() {
+    if (!resetted) {
+        document.getElementById('keyword').value = '';
+        resetted = true;
+    }
+}