diff --git a/layouts/v7/modules/Mobile/simple/Vtiger/js/Edit.js b/layouts/v7/modules/Mobile/simple/Vtiger/js/Edit.js index 8e73c05f603d3686f7286b87aa10de38cfd76eab..7505f99b6ea430143929f4b14fc7f3f94e19443d 100644 --- a/layouts/v7/modules/Mobile/simple/Vtiger/js/Edit.js +++ b/layouts/v7/modules/Mobile/simple/Vtiger/js/Edit.js @@ -127,6 +127,7 @@ mobileapp.controller('VtigerEditController', function ($scope, $api, $mdToast, $ $api('fetchRecord', {module: $scope.module, record: $scope.record, view_mode:'web'}, function (e, r) { if(r){ prepareCreateData(false, r); + $scope.record = r.record.id; } }); };