mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 20:56:42 +08:00
Fix hound
This commit is contained in:
parent
006a422e25
commit
a269c8462d
1 changed files with 2 additions and 6 deletions
|
@ -102,9 +102,7 @@ var RepositoryColumns = (function() {
|
||||||
|
|
||||||
initEditSubmitAction(modalHtml);
|
initEditSubmitAction(modalHtml);
|
||||||
}).fail(function() {
|
}).fail(function() {
|
||||||
HelperModule.flashAlertMsg(
|
HelperModule.flashAlertMsg(I18n.t('libraries.repository_columns.no_permissions'), 'danger');
|
||||||
I18n.t('libraries.repository_columns.no_permissions'), 'danger'
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -141,9 +139,7 @@ var RepositoryColumns = (function() {
|
||||||
modalHtml.modal('show');
|
modalHtml.modal('show');
|
||||||
initDeleteSubmitAction(modalHtml, $(modalHtml.find('form')));
|
initDeleteSubmitAction(modalHtml, $(modalHtml.find('form')));
|
||||||
}).fail(function() {
|
}).fail(function() {
|
||||||
HelperModule.flashAlertMsg(
|
HelperModule.flashAlertMsg(I18n.t('libraries.repository_columns.no_permissions'), 'danger');
|
||||||
I18n.t('libraries.repository_columns.no_permissions'), 'danger'
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue