Code Review
/
src
/
app-framework-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cleanup
[src/app-framework-demo.git]
/
afb-client
/
app
/
Frontend
/
pages
/
Home
/
HomeModule.js
diff --git
a/afb-client/app/Frontend/pages/Home/HomeModule.js
b/afb-client/app/Frontend/pages/Home/HomeModule.js
index
ba6c5ea
..
30e796e
100644
(file)
--- a/
afb-client/app/Frontend/pages/Home/HomeModule.js
+++ b/
afb-client/app/Frontend/pages/Home/HomeModule.js
@@
-56,7
+56,7
@@
angular.module('HomeModule', ['SubmitButton', 'TokenRefresh'])
scope.OpenSession = function() {
console.log ("OpenSession");
var postdata= {/* any json your application may need */};
scope.OpenSession = function() {
console.log ("OpenSession");
var postdata= {/* any json your application may need */};
- var handler = $http.post(ConfigApp.api.token + 'create?token='+ConfigApp.session.
token
, postdata);
+ var handler = $http.post(ConfigApp.api.token + 'create?token='+ConfigApp.session.
initial
, postdata);
handler.success(scope.ProcessResponse);
handler.error(scope.ProcessError);
handler.success(scope.ProcessResponse);
handler.error(scope.ProcessError);