annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
276
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff changeset
1 var resetted = false;
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff changeset
2 function resetBar() {
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff changeset
3 if (!resetted) {
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff changeset
4 document.getElementById('keyword').value = '';
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff changeset
5 resetted = true;
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff changeset
6 }
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff changeset
7 }