mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 01:47:35 +00:00
fix(edit) show: name -> Info.name
This commit is contained in:
parent
4e0451bb1c
commit
f8299fa556
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,6 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward;
|
|||
|
||||
this.show = function(callback) {
|
||||
Images.show.load();
|
||||
setMsgChanged(name);
|
||||
|
||||
if (callback)
|
||||
ConfigView.beforeShow = callback;
|
||||
|
|
@ -82,6 +81,8 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward;
|
|||
var isDir = Info.isDir,
|
||||
name = Info.name;
|
||||
|
||||
setMsgChanged(name);
|
||||
|
||||
if (isDir)
|
||||
name += '.json';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue