Skip to content

Commit

Permalink
Remove old JS code in the normalization report
Browse files Browse the repository at this point in the history
This fixes a JS `Uncaught TypeError` error in the normalization report
caused by code that was used to setup dialogs for displaying job
information but which were removed a few years ago.
  • Loading branch information
replaceafill committed Jun 9, 2021
1 parent 7b3e0bb commit 1e0a4a7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/dashboard/src/media/js/ingest/normalization_report.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ along with Archivematica. If not, see <http://www.gnu.org/licenses/>.
*/

$(function() {
// add job viewer to generate dialogs with
var job = new Job();
job.set({'type': 'Approve Normalization'});
job.sip = new Sip();
job.sip.set({'directory': '{{ sipname }}'});
var jobView = new BaseJobView({model: job});

// add popovers
$($.find('a.file-location'))
.popover({
Expand Down

0 comments on commit 1e0a4a7

Please sign in to comment.