|
@@ -304,7 +304,7 @@ app.controller('placeCtrl', ["$rootScope", "$scope", "$http", "$state", "$timeou
|
304
|
304
|
$modalInstance.dismiss('cancel');
|
305
|
305
|
};
|
306
|
306
|
$scope.ok = function (check) {
|
307
|
|
- if (check.place != data.place) {
|
|
307
|
+ // if (check.place != data.place) {
|
308
|
308
|
if (check.place) {
|
309
|
309
|
$modalInstance.close(check);
|
310
|
310
|
} else {
|
|
@@ -314,9 +314,9 @@ app.controller('placeCtrl', ["$rootScope", "$scope", "$http", "$state", "$timeou
|
314
|
314
|
type: "error"
|
315
|
315
|
})
|
316
|
316
|
}
|
317
|
|
- } else {
|
318
|
|
- $modalInstance.dismiss('cancel');
|
319
|
|
- }
|
|
317
|
+ // } else {
|
|
318
|
+ // $modalInstance.dismiss('cancel');
|
|
319
|
+ // }
|
320
|
320
|
}
|
321
|
321
|
},
|
322
|
322
|
resolve: {
|