Commit 472f42bb by lepdou

modify method name

parent 670aaf5a
...@@ -105,7 +105,7 @@ sync_item_module.controller("SyncItemController", ...@@ -105,7 +105,7 @@ sync_item_module.controller("SyncItemController",
$scope.syncItemStep += offset; $scope.syncItemStep += offset;
}; };
$scope.return = function () { $scope.backToAppHomePage = function () {
$window.location.href = '/views/app.html?#appid=' + $scope.pageContext.appId; $window.location.href = '/views/app.html?#appid=' + $scope.pageContext.appId;
}; };
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<button type="button" class="btn btn-success" ng-show="syncItemStep == 2" ng-click="syncItems()">同步 <button type="button" class="btn btn-success" ng-show="syncItemStep == 2" ng-click="syncItems()">同步
</button> </button>
<button type="button" class="btn btn-primary" data-dismiss="modal" ng-show="syncItemStep == 3" <button type="button" class="btn btn-primary" data-dismiss="modal" ng-show="syncItemStep == 3"
ng-click="return()">返回 ng-click="backToAppHomePage()">返回
</button> </button>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment