mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 14:41:53 +08:00
Fixes merge conflicts with smart-annotations branch
This commit is contained in:
parent
f1483e4cad
commit
365eef506c
2 changed files with 5 additions and 12 deletions
|
@ -185,12 +185,8 @@ function formCallback($form) {
|
|||
|
||||
setTimeout(function() {
|
||||
initStepsComments();
|
||||
<<<<<<< HEAD
|
||||
openLinksInNewTab();
|
||||
animateSpinner(null, false);
|
||||
=======
|
||||
SmartAnnotation.preventPropagation('.atwho-user-popover');
|
||||
>>>>>>> smart-annotations
|
||||
}, 1000);
|
||||
return true;
|
||||
});
|
||||
|
@ -281,12 +277,9 @@ function formNewAjax($form) {
|
|||
formCallback($form);
|
||||
formNewAjax($form);
|
||||
applyCancelOnNew();
|
||||
<<<<<<< HEAD
|
||||
animateSpinner(null, false);
|
||||
=======
|
||||
TinyMCE.destroyAll();
|
||||
SmartAnnotation.preventPropagation('.atwho-user-popover');
|
||||
>>>>>>> smart-annotations
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -336,11 +336,11 @@ var SmartAnnotation = (function() {
|
|||
{query: query},
|
||||
function(data) {
|
||||
if (data.users.length < 1) {
|
||||
callback([{no_results: 1}]);
|
||||
} else {
|
||||
callback(data.users);
|
||||
}
|
||||
initDismissButton();
|
||||
callback([{no_results: 1}]);
|
||||
} else {
|
||||
callback(data.users);
|
||||
}
|
||||
initDismissButton($('.atwho-view[style]'));
|
||||
}
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue