fixes load comments [fixes SCI-471]

This commit is contained in:
zmagod 2016-09-22 13:46:27 +02:00
parent c6c169f744
commit 303cb4308a

View file

@ -130,9 +130,10 @@
.change(function() {
$(".step-save")
.on("click", function() {
setTimeout(function() {
initializeComments();
}, 500);
$(document)
.on('ajax:success', function(){
initializeComments();
});
});
});
} else if ( document.getElementById("results") !== null ) {
@ -140,9 +141,10 @@
.change(function() {
$(".save-result")
.on("click", function() {
setTimeout(function() {
initializeComments();
}, 500);
$(document)
.on('ajax:success', function(){
initializeComments();
});
});
});
}