fix(edit) show: name -> Info.name

This commit is contained in:
coderaiser 2015-02-25 11:17:44 -05:00
parent 4e0451bb1c
commit f8299fa556

View file

@ -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';