mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
removed function _editFileName
This commit is contained in:
parent
04e4935613
commit
8e9dfd8e84
1 changed files with 0 additions and 27 deletions
|
|
@ -69,33 +69,6 @@ var Util, DOM, CloudFunc, KeyBinding, CloudCmd;
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* Function edits file name
|
||||
*
|
||||
* @param pParent - parent element
|
||||
* @param pEvent
|
||||
*/
|
||||
CloudCmd._editFileName = function(pParent){
|
||||
var lA = DOM.getCurrentLink(pParent),
|
||||
lName = DOM.getCurrentName();
|
||||
|
||||
if ( lName !== '..' ){
|
||||
|
||||
lA.contentEditable = true;
|
||||
KeyBinding && KeyBinding.unSet();
|
||||
|
||||
/* setting event handler onclick
|
||||
* if user clicks somewhere keyBinded
|
||||
* backs
|
||||
*/
|
||||
Events.addOneTime('click', function(){
|
||||
//lA.contentEditable = false;
|
||||
//KeyBinding && KeyBinding.set();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/** функция устанавливает курсор на каталог
|
||||
* с которого мы пришли, если мы поднялись
|
||||
* в верх по файловой структуре
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue