Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
senchatouch-notes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
senchatouch-notes
Commits
269fda4b
Commit
269fda4b
authored
Apr 15, 2013
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Sencha Touch TS:
working according to demo
parent
eb726c2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
UserNavigationController.js
www/app/controller/UserNavigationController.js
+1
-0
User.js
www/app/model/User.js
+6
-0
No files found.
www/app/controller/UserNavigationController.js
View file @
269fda4b
...
@@ -17,6 +17,7 @@ Ext.define('PO.controller.UserNavigationController', {
...
@@ -17,6 +17,7 @@ Ext.define('PO.controller.UserNavigationController', {
var
view
=
this
.
getUserNavigationView
();
var
view
=
this
.
getUserNavigationView
();
view
.
push
({
view
.
push
({
xtype
:
'userDetail'
,
xtype
:
'userDetail'
,
title
:
record
.
fullName
(),
data
:
record
.
data
data
:
record
.
data
});
});
}
}
...
...
www/app/model/User.js
View file @
269fda4b
...
@@ -26,6 +26,12 @@ Ext.define('PO.model.User', {
...
@@ -26,6 +26,12 @@ Ext.define('PO.model.User', {
type
:
'json'
// Allow Sencha to write ticket changes
type
:
'json'
// Allow Sencha to write ticket changes
}
}
}
}
},
fullName
:
function
()
{
var
d
=
this
.
data
;
return
d
.
first_names
+
' '
+
d
.
last_name
;
}
}
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment