mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-21 22:33:13 +08:00
fixes load comments [fixes SCI-471]
This commit is contained in:
parent
c6c169f744
commit
303cb4308a
1 changed files with 8 additions and 6 deletions
|
@ -130,9 +130,10 @@
|
||||||
.change(function() {
|
.change(function() {
|
||||||
$(".step-save")
|
$(".step-save")
|
||||||
.on("click", function() {
|
.on("click", function() {
|
||||||
setTimeout(function() {
|
$(document)
|
||||||
initializeComments();
|
.on('ajax:success', function(){
|
||||||
}, 500);
|
initializeComments();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else if ( document.getElementById("results") !== null ) {
|
} else if ( document.getElementById("results") !== null ) {
|
||||||
|
@ -140,9 +141,10 @@
|
||||||
.change(function() {
|
.change(function() {
|
||||||
$(".save-result")
|
$(".save-result")
|
||||||
.on("click", function() {
|
.on("click", function() {
|
||||||
setTimeout(function() {
|
$(document)
|
||||||
initializeComments();
|
.on('ajax:success', function(){
|
||||||
}, 500);
|
initializeComments();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue