CC-4924: Calendar: "View Recorded File Metadata" for record show still uses old Metadata Editor

-fixed
This commit is contained in:
denise 2013-02-14 11:43:29 -05:00
parent 74291cc248
commit cd5f1149af
2 changed files with 11 additions and 4 deletions

View file

@ -1368,7 +1368,12 @@ $(document).ready(function() {
data = $("#edit-md-dialog form").serializeArray();
$.post(baseUrl+'library/edit-file-md', {format: "json", id: file_id, data: data}, function() {
$("#edit-md-dialog").dialog().remove();
oTable.fnStandingRedraw();
// don't redraw the library table if we are on calendar page
// we would be on calendar if viewing recorded file metadata
if ($("#schedule_calendar").length === 0) {
oTable.fnStandingRedraw();
}
});
});