Skip to content

Commit

Permalink
Don't show the Files tab if it's not a saved event.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 7, 2016
1 parent 5258198 commit 3456915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kronolith/js/kronolith.js
Expand Up @@ -5818,6 +5818,7 @@ KronolithCore = {
$('kronolithEventEndDate').setValue(d.toString(Kronolith.conf.date_format));
$('kronolithEventEndTime').setValue(d.toString(Kronolith.conf.time_format));
$('kronolithEventLinkExport').up('li').hide();
$('kronolithEventLinkFiles').up('li').hide();
$('kronolithEventSaveAsNew').hide();
$('kronolithEventUrlDisplay').hide();
$('kronolithEventUrl').show();
Expand Down Expand Up @@ -6225,6 +6226,7 @@ KronolithCore = {
this.insertFile(f.value);
}.bind(this));
}
$('kronolithEventLinkFiles').up('li').show();
$('kronolithEventFileList').show();
if (!ev.pe) {
$('kronolithEventSave').hide();
Expand Down

0 comments on commit 3456915

Please sign in to comment.