Commit 399ee098 authored by Kedar Aitawdekar's avatar Kedar Aitawdekar 💻

updated JS to reload assessments iFrame after 5s

parent 22f5ee0f
......@@ -232,6 +232,9 @@
for (var i = 0; i != iframes.length; ++i) {
var match = iframes[i].src.search(key);
// console.log(match);
// iframes[i].replace(/&/g, '&')
// match_ = match;
if(match != -1) {
source_attr = iframes[i].getAttribute('src')
oac_url = 'oac'
......@@ -276,6 +279,9 @@
}
}
}
setTimeout(function() {for(i=0; i<iframes.length; i++){if(iframes[i].src.search(key)) {iframes[i].src = iframes[i].src} }}, 5000);
})
$(".admin-page").click(function(event){
......
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