Last part of order refactoring. Now order_article create/update is possible.
This commit is contained in:
parent
4d796b8e73
commit
6202e05841
14 changed files with 161 additions and 97 deletions
|
|
@ -45,3 +45,10 @@ function redirectTo(newLoc) {
|
|||
document.location.href = nextPage
|
||||
}
|
||||
}
|
||||
|
||||
// Use with auto_complete to set a unique id,
|
||||
// e.g. when the user selects a (may not unique) name
|
||||
// There must be a hidden field with the id 'hidden_field'
|
||||
function setHiddenId(text, li) {
|
||||
$('hidden_id').value = li.id;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue