PATH:
home
/
letacommog
/
letaweb
/
scripts
/
editor
/
popup
angular.module('ui.popup') .service('popup_option_set', ['communication','popup_form','$templateCache','popup_grid',function(communication,popup_form,$templateCache,popup_grid) { this.open = function(opt) { opt = opt || {}; return popup_form.open( { name:'option_set', data:opt.data, controller: function($scope,$modalInstance) { $scope.data = $scope.data || {}; $scope.data.options = $scope.data.options || []; $scope.add = function() { $scope.data.options.push({ name:'New option' }) } $scope.delete = function(index) { $scope.data.options.splice(index,1); } if(angular.isDefined($scope.data.id ) && $scope.data.id != 0) { communication.moduleExecute('getoptionList',{id:$scope.data.id},'ecommerce.catalog.optionset').then(function(json) { $scope.data.options = json; }); } }, execute_path:'ecommerce.catalog.optionset', form_name:'OptionSetForm' }); } }]);
[+]
..
[-] profile.js
[edit]
[-] pagelist.js
[edit]
[-] order.js
[edit]
[-] customer_group.js
[edit]
[-] module_list.js
[edit]
[-] backgroundeditor.js
[edit]
[-] product.js
[edit]
[-] visualcsseditor.js
[edit]
[-] shipping_rule.js
[edit]
[-] profile_change_password.js
[edit]
[-] review.js
[edit]
[-] contributor_invite.js
[edit]
[-] dbfilter.js
[edit]
[-] tax_class.js
[edit]
[-] special_module_style_editor.js
[edit]
[-] idletimeout.js
[edit]
[-] address.js
[edit]
[-] contributor.js
[edit]
[-] login.js
[edit]
[-] skin.js
[edit]
[-] mail.js
[edit]
[-] discount.js
[edit]
[-] customer.js
[edit]
[-] productgrid.js
[edit]
[-] socialsharebuttonconfig.js
[edit]
[-] news.js
[edit]
[-] color.js
[edit]
[-] palette.js
[edit]
[-] newsgrid.js
[edit]
[-] product_option_combination_grid.js
[edit]
[-] page.js
[edit]
[-] product_option.js
[edit]
[-] tax_rate.js
[edit]
[-] coupons.js
[edit]
[-] zone.js
[edit]
[-] product_bulk_price.js
[edit]
[-] option_set.js
[edit]
[-] product_option_combination.js
[edit]