comparison test_create/test_core.js @ 2884:596e83ffc73a

#76. Added popups to certain attributes in the test_creator.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 26 Jun 2017 12:47:57 +0100
parents 88dff8b9247c
children 98209bb0fe87
comparison
equal deleted inserted replaced
2883:632ccfeab95a 2884:596e83ffc73a
33 33
34 var specification = new Specification(); 34 var specification = new Specification();
35 35
36 window.onload = function () { 36 window.onload = function () {
37 // Get the test interface specifications 37 // Get the test interface specifications
38 38 $(function () {
39 $('[data-toggle="popover"]').popover();
40 });
39 }; 41 };
40 42
41 function handleFiles(event) { 43 function handleFiles(event) {
42 var s = angular.element(event.currentTarget).scope(); 44 var s = angular.element(event.currentTarget).scope();
43 s.handleFiles(event); 45 s.handleFiles(event);