Repository: kylin
Updated Branches:
  refs/heads/2.x-staging 9d4c421f5 -> f0a8078a0


KYLIN-1271 fix modal auto hide issue


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/f0a8078a
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/f0a8078a
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/f0a8078a

Branch: refs/heads/2.x-staging
Commit: f0a8078a0bcf288c1fd07463296889f399b0ec90
Parents: 9d4c421
Author: jian <jiazh...@apache.org>
Authored: Tue Jan 5 15:48:00 2016 +0800
Committer: jian <jiazh...@apache.org>
Committed: Tue Jan 5 15:48:00 2016 +0800

----------------------------------------------------------------------
 webapp/app/js/controllers/sourceMeta.js | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/f0a8078a/webapp/app/js/controllers/sourceMeta.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/controllers/sourceMeta.js 
b/webapp/app/js/controllers/sourceMeta.js
index e29bcb5..bf45403 100755
--- a/webapp/app/js/controllers/sourceMeta.js
+++ b/webapp/app/js/controllers/sourceMeta.js
@@ -85,6 +85,7 @@ KylinApp
       $modal.open({
         templateUrl: 'addHiveTable.html',
         controller: ModalInstanceCtrl,
+        backdrop : 'static',
         resolve: {
           tableNames: function () {
             return $scope.tableNames;
@@ -159,6 +160,7 @@ KylinApp
       $modal.open({
         templateUrl: 'addStreamingSource.html',
         controller: StreamingSourceCtrl,
+        backdrop : 'static',
         resolve: {
           tableNames: function () {
             return $scope.tableNames;
@@ -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") {

Reply via email to