Commit b3b5b6e6 by Michael Frey Committed by Bill Filler

fixes

parent 64ad12d9
......@@ -2,6 +2,14 @@ define([
'jquery', 'js/collections/asset', 'js/views/assets', 'jquery.fileupload'
], function($, AssetCollection, AssetsView) {
'use strict';
$('.upload-modal .close-button').on('click', function() {
var $iframe = $('.digital-locker iframe');
if (!$iframe) {
document.querySelector('.digital-locker iframe').contentWindow.location.reload();
} else {
document.location.reload();
}
});
return function(config) {
var assets = new AssetCollection(),
assetsView;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment