Ignore:
Timestamp:
12/08/09 13:42:25 (15 years ago)
Author:
amuller
Message:

Ticket #806 - Melhorias no módulos gerenciador de arquivos do expresso livre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/js/draw_api.js

    r1789 r1791  
    271271                if (preferences.createdby_id =='1') retBuff += fl.td+file.creatdby+'</td>'; 
    272272                if (preferences.modifiedby_id =='1') retBuff += fl.td+file.modifdby+'</td>'; 
    273                 if (preferences.comment =='1') retBuff += fl.td+'<input id="'+file.name+'" class="inputComment" onkeydown="enterComments(event,\''+file.name+'\')" onclick="presetComments(this)" onblur="setComments(this)" value="'+file.comm+'" alt="'+get_lang('Click to change comments')+'" title="'+get_lang('Click to change comments')+'"></input></td>'; 
     273                if (preferences.comment =='1') retBuff += fl.td+'<input id="'+file.name+'" class="inputComment" onkeydown="enterComments(event,this)" onclick="presetComments(this)" onblur="setComments(this)" value="'+file.comm+'" alt="'+get_lang('Click to change comments')+'" title="'+get_lang('Click to change comments')+'"></input></td>'; 
    274274                if (preferences.version =='1') retBuff += fl.td+'<span onclick="loadHistory(\''+file.name+'\')">'+file.vers+'</span></td>'; 
    275275                return retBuff; 
     
    409409                                        inputName.value = filename; 
    410410                                        inputName.onblur = function () { cExecute('./index.php?menuaction=filemanager.vfs_functions.rename&file='+base64_encode(this.id.substr(6))+'&to='+base64_encode(this.value)+"&path="+base64_encode(currentPath),handlerRename) }; 
     411                                        inputName.onkeydown=function (event) {if (event.keyCode == KEY_ENTER) this.blur(); }; 
    411412                                        nameLink.parentNode.appendChild(inputName); 
    412413                                        nameLink.parentNode.removeChild(nameLink); 
Note: See TracChangeset for help on using the changeset viewer.