$scope.clearWorking = function () {
angular.forEach($scope.working, function (v,k,o) {
+ if (k != 'MultiMap') $scope.working.MultiMap[k] = [];
if (!angular.isObject(v)) {
if (typeof v != 'undefined')
$scope.working[k] = undefined;
- } else if (k != 'circ_lib') {
+ } else if (k != 'circ_lib' && k != 'MultiMap') {
angular.forEach(v, function (sv,sk) {
if (typeof v != 'undefined')
$scope.working[k][sk] = undefined;
$scope.clearWorking = function () {
angular.forEach($scope.working, function (v,k,o) {
+ if (k != 'MultiMap') $scope.working.MultiMap[k] = [];
$scope.working.MultiMap[k] = [];
if (!angular.isObject(v)) {
if (typeof v != 'undefined')
$scope.working[k] = undefined;
- } else if (k != 'circ_lib') {
+ } else if (k != 'circ_lib' && k != 'MultiMap') {
angular.forEach(v, function (sv,sk) {
$scope.working[k][sk] = undefined;
});