Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | define([ |
||
3 | ], function(BaseController) { |
||
4 | 'use strict'; |
||
5 | |||
6 | /** |
||
7 | * Init ContentManager's handlers |
||
8 | */ |
||
9 | BaseController.loadBeforeAction([ |
||
10 | 'jquery', 'jquery.validate' |
||
11 | ], function($) { |
||
12 | var constraints = [ |
||
13 | 'orosale/js/validator/quote-product-offer-quantity' |
||
14 | ]; |
||
15 | |||
16 | $.validator.loadMethod(constraints); |
||
17 | }); |
||
18 | }); |
||
19 |