Fix js error on path check before publish

This commit is contained in:
Paul Chavard 2018-10-30 15:59:19 +01:00
parent 6e4d111e09
commit 6782643426

View file

@ -64,10 +64,7 @@ function validatePath(path) {
} }
function path_type_init() { function path_type_init() {
$(PROCEDURE_PATH_SELECTOR).bind('autocomplete:select', function( $(PROCEDURE_PATH_SELECTOR).on('autocomplete:select', function(event) {
ev, togglePathMessage(true, event.detail['mine']);
suggestion
) {
togglePathMessage(true, suggestion['mine']);
}); });
} }