Fix js error on path check before publish
This commit is contained in:
parent
6e4d111e09
commit
6782643426
1 changed files with 2 additions and 5 deletions
|
@ -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']);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue