WIP
- Coupon Add/Edit/Delete rule AJAX
This commit is contained in:
@@ -67,6 +67,10 @@ $(function($){
|
||||
var valueId = null;
|
||||
var idName = null;
|
||||
|
||||
if(id) {
|
||||
couponManager.ruleToUpdate = couponManager.ruleToSave;
|
||||
}
|
||||
|
||||
for (idName in couponManager.ruleToUpdate.operators) {
|
||||
// Setting idName operator select
|
||||
operatorId = idName + '-operator';
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
{include file='coupon/form.html' formAction={url path={$formAction}} form=$form noRules=false}
|
||||
{/form}
|
||||
|
||||
|
||||
</section> <!-- #wrapper -->
|
||||
{/block}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user