Skip to content
Snippets Groups Projects
Commit 69898281 authored by Prasad's avatar Prasad
Browse files

Fixes #728: Strong binding back action from DetailView to ListView

parent 17fce89e
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,9 @@ mobileapp.controller('VtigerDetailController', function ($scope, $api) { ...@@ -19,7 +19,9 @@ mobileapp.controller('VtigerDetailController', function ($scope, $api) {
}); });
$scope.gobacktoUrl = function(){ $scope.gobacktoUrl = function(){
window.history.back(); //window.history.back();
// Binding DetailView back action to List view. (as Edit + Save puts back in wrong state)
window.location.href = (window.location.href.replace(/view=Detail/, "view=List"));
}; };
var _VTIGER_RESTRICTIONS = { var _VTIGER_RESTRICTIONS = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment