Skip to content

Commit

Permalink
KYLIN-1271 fix modal auto hide issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jian committed Jan 5, 2016
1 parent bd52c89 commit eddeb3e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions webapp/app/js/controllers/sourceMeta.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ KylinApp
$modal.open({
templateUrl: 'addHiveTable.html',
controller: ModalInstanceCtrl,
backdrop : 'static',
resolve: {
tableNames: function () {
return $scope.tableNames;
Expand Down Expand Up @@ -159,6 +160,7 @@ KylinApp
$modal.open({
templateUrl: 'addStreamingSource.html',
controller: StreamingSourceCtrl,
backdrop : 'static',
resolve: {
tableNames: function () {
return $scope.tableNames;
Expand Down Expand Up @@ -287,18 +289,6 @@ KylinApp
return;
}

//var timestampCount = 0;
//angular.forEach($scope.columnList,function(item){
// if(item.checked == "Y"&&item.type=="timestamp"&&item.fromSource=='Y'){
// timestampCount++;
// }
//})

//if(timestampCount!=1){
// $scope.rule.timestampColumnConflict = true;
// return;
//}

var columns = [];
angular.forEach($scope.columnList,function(column,$index){
if (column.checked == "Y") {
Expand Down

0 comments on commit eddeb3e

Please sign in to comment.