PATH:
home
/
letacommog
/
letaweb
/
scripts
/
editor
/
ecommerce
/
configuration
/
shipping
define([], function() { return function($scope, communication, popup_grid) { communication.getList('zones',{}).then(function(json) { $scope.zone_list = json; //if(!$scope.$$phase) //$scope.$digest(); }); $scope.templateUrl = function(item) { return 'ecommerce/configuration/shipping/methods/' + item.type; } $scope.dynamicCtrl = function(item) { return 'editor/ecommerce/configuration/shipping/methods/' + item.type; } $scope.addMethod = function(data, type,name) { data = data || {}; data.shipping_methods = data.shipping_methods || []; data.shipping_methods.push({name:name, type:type}); } } });
[+]
..
[-] edit_methods.js
[edit]
[+]
methods
[-] edit.js
[edit]