projects
/
order_line_extra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e79f3e
)
simplify Ajax activation test.
author
Maxime Bourget
<bmx007@gmail.com>
Sat, 1 Jun 2013 11:11:12 +0000
(12:11 +0100)
committer
Maxime Bourget
<bmx007@gmail.com>
Sat, 1 Jun 2013 11:11:12 +0000
(12:11 +0100)
item_schedule.php
patch
|
blob
|
history
diff --git
a/item_schedule.php
b/item_schedule.php
index 7276bdc5f970d7c2985c90121994348a63e4cc50..36b10b935b86acbb09900d50a25db7d9dfa1f999 100644
(file)
--- a/
item_schedule.php
+++ b/
item_schedule.php
@@
-53,10
+53,7
@@
else {
}
}
-if (list_updated('stock_id'))
- $Ajax->activate('item_schedule');
-if (in_ajax())
- $Ajax->activate('item_schedule');
+if (list_updated('stock_id') || in_ajax()) $Ajax->activate('item_schedule');
//if (!@$_GET['popup'])
start_form();
@@
-65,6
+62,7
@@
if (in_ajax())
$stock_id = $_POST['stock_id'];
stock_costable_items_list_cells(_("Item:"), 'stock_id', $stock_id);
+
end_row();
end_table(1);