Coupon type template framgment may define a couponInputFormSetup JS function
This commit is contained in:
@@ -235,6 +235,14 @@ $(function($){
|
|||||||
}
|
}
|
||||||
}).done(function(data) {
|
}).done(function(data) {
|
||||||
inputsDiv.html(data);
|
inputsDiv.html(data);
|
||||||
|
|
||||||
|
// Invoke coupon setup funtion, if any
|
||||||
|
try {
|
||||||
|
couponInputFormSetup();
|
||||||
|
}
|
||||||
|
catch (ex) {
|
||||||
|
// Ignore the error
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user