mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-21 06:15:31 +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() {
|
||||
$(".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();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue