mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 20:05:55 +08:00
fix hound
This commit is contained in:
parent
089ec64398
commit
3b4a894124
2 changed files with 4 additions and 4 deletions
|
@ -112,8 +112,8 @@
|
||||||
}
|
}
|
||||||
// Initialize no description edit link
|
// Initialize no description edit link
|
||||||
function initEditNoDescription(){
|
function initEditNoDescription(){
|
||||||
var modal = "#edit-experiment-modal-";
|
var modal = '#edit-experiment-modal-';
|
||||||
$.each($(".experiment-no-description"), function(){
|
$.each($('.experiment-no-description'), function() {
|
||||||
var id = modal + $(this).data("id");
|
var id = modal + $(this).data("id");
|
||||||
initializeModal($(this), id);
|
initializeModal($(this), id);
|
||||||
});
|
});
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
var timestamp = container.data("timestamp");
|
var timestamp = container.data("timestamp");
|
||||||
var img_url = container.data('updated-img');
|
var img_url = container.data('updated-img');
|
||||||
|
|
||||||
animateSpinner(container, true, {color: '#555', top: '60%', zIndex: '100'});
|
animateSpinner(container, true, { color: '#555', top: '60%', zIndex: '100' });
|
||||||
checkUpdatedImg(img_url, url, timestamp, container);
|
checkUpdatedImg(img_url, url, timestamp, container);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
type: "GET",
|
type: "GET",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
el.children("img").remove();
|
el.children('img').remove();
|
||||||
el.append(data.workflowimg);
|
el.append(data.workflowimg);
|
||||||
},
|
},
|
||||||
error: function (ev) {
|
error: function (ev) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue