Fix issues found during testing. #780
This commit is contained in:
parent
a83fecf224
commit
ee033ddd55
2 changed files with 3 additions and 3 deletions
|
|
@ -104,10 +104,11 @@ class ItemPricingController extends Controller
|
|||
|
||||
$item_prices = $price_tier->getItemPrices();
|
||||
|
||||
// clear the tier's item prices
|
||||
// clear the tier's item prices for the specific item type
|
||||
foreach ($item_prices as $ip)
|
||||
{
|
||||
$em->remove($ip);
|
||||
if ($ip->getItemType() == $item_type)
|
||||
$em->remove($ip);
|
||||
}
|
||||
|
||||
// update the tier's item prices
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ function init_item_type_dropdown() {
|
|||
}
|
||||
|
||||
function load_prices(price_tier_id, item_type_id) {
|
||||
console.log('loading prices');
|
||||
var req = new XMLHttpRequest();
|
||||
req.onreadystatechange = function() {
|
||||
// process response
|
||||
|
|
|
|||
Loading…
Reference in a new issue