Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed May 2, 2021
1 parent 3e2d1a4 commit 4fbf541
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eNMS/static/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,10 @@ export function showInstancePanel(type, id, mode, tableId) {
url: `/filtering/${model}`,
data: { form: form, bulk: "id" },
callback: function (instances) {
console.log(instances)
$(`#${type}-id-${tableId}`).val(instances.join("-"));
$(`#${type}-scoped_name-${tableId},#${type}-name-${tableId}`).val("Bulk Edit");
$(`#${type}-scoped_name-${tableId},#${type}-name-${tableId}`).val(
"Bulk Edit"
);
panel.setHeaderTitle(
`Edit all ${instances.length} ${model}s in table in bulk`
);
Expand Down

0 comments on commit 4fbf541

Please sign in to comment.