2015-02-11 84 views
1

AJS角度引導模式彈出不調整(大)

$scope.WizardModal = $modal.open({ 
           templateUrl: 'Wizard.html', 
           size: 'lg', 
           scope: $scope, 
          }); 

HTML

enter image description here

你可以看到,它不噴射 '模式,LG'到html代碼中。爲什麼? 任何幫助將不勝感激。

+0

是模態出現.. ?? – squiroid 2015-02-11 12:18:52

+0

@squiroid Yes.Modal彈出窗口工作正常。只有問題是它沒有調整大小。 – Sampath 2015-02-11 12:19:56

+0

確保您使用最新版本的bootstrap ui。 – dfsq 2015-02-11 12:21:32

回答

1

早期版本的AngularUI沒有實現size配置設置。它在Angular UI版本0.12.0中添加(請參閱commit)。更新到這個版本應該支持模態窗口大小。

$scope.WizardModal = $modal.open({ 
    templateUrl: 'Wizard.html', 
    size: 'lg', 
    scope: $scope, 
}); 

鏈接到documentation