X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3c4367d8e03450e9a73e61f4247145d2b6c86a33..959d888c17d1403d2eeecc19bc4b5e2c8d1debf6:/skins/ajax_scripts/input_completion.js?ds=inline diff --git a/skins/ajax_scripts/input_completion.js b/skins/ajax_scripts/input_completion.js deleted file mode 100644 index 735b368..0000000 --- a/skins/ajax_scripts/input_completion.js +++ /dev/null @@ -1,139 +0,0 @@ -// © Benoît PIN 2008 -// http://plinn.org -// Licence GPL -// -// -// Form completion utils - -// public names -var TextInputCompletion; - -(function(){ - -UID_ATTEMPT = 8; - -TextInputCompletion = function(input, url) { - this.url = url; - this.input = input; - this.previousValue = this.input.value; - - var thisManager = this; - addListener(this.input, 'keyup', function(evt) { thisManager._inputComplete(evt); }); - addListener(this.input, 'blur', function(evt) {thisManager._inputQuit(evt);}); - this.input.cancelNextSubmit = true; - - var uid; - for (var i=0 ; i