X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=philter%2Fphilter%2Finclude%2Fphilter.js;h=41a9122fa09a615720fc9547e47c4f62800ff4b0;hb=8294c7d200119afdfb56dbfe69765ea449bb8a06;hp=f7a9c6a07644093593601cfd2808932854414ceb;hpb=693b6ec6fa26c0d1d818638f2f949a50aba7382a;p=old-projects.git diff --git a/philter/philter/include/philter.js b/philter/philter/include/philter.js index f7a9c6a..41a9122 100644 --- a/philter/philter/include/philter.js +++ b/philter/philter/include/philter.js @@ -6,14 +6,6 @@ * Copyright: See COPYING files that comes with this distribution ********************************************************************************/ -function ta_onfocus(obj) { - obj.setAttribute('rows', '10'); -} - -function ta_onblur(obj) { - obj.setAttribute('rows', '2'); -} - function text_onfocus(object,val) { if(object.value == val) object.value = ''; @@ -107,16 +99,17 @@ var matches_i = 0; function createActionSelect(data,base) { var i,j; var select = document.createElement("select"); + var sel = 0; select.name = base+'[0]'; - for(i=0, j=0; i