Commit 472f42bb by lepdou

modify method name

parent 670aaf5a
......@@ -105,7 +105,7 @@ sync_item_module.controller("SyncItemController",
$scope.syncItemStep += offset;
};
$scope.return = function () {
$scope.backToAppHomePage = function () {
$window.location.href = '/views/app.html?#appid=' + $scope.pageContext.appId;
};
......
......@@ -34,7 +34,7 @@
<button type="button" class="btn btn-success" ng-show="syncItemStep == 2" ng-click="syncItems()">同步
</button>
<button type="button" class="btn btn-primary" data-dismiss="modal" ng-show="syncItemStep == 3"
ng-click="return()">返回
ng-click="backToAppHomePage()">返回
</button>
</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