projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9cd05f2
)
Roo/bootstrap/dash/TabBox.js
author
Edward
<edward@roojs.com>
Mon, 16 Feb 2015 09:16:30 +0000
(17:16 +0800)
committer
Edward
<edward@roojs.com>
Mon, 16 Feb 2015 09:16:30 +0000
(17:16 +0800)
Roo/bootstrap/dash/TabBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/dash/TabBox.js
b/Roo/bootstrap/dash/TabBox.js
index
570401d
..
e9d7398
100644
(file)
--- a/
Roo/bootstrap/dash/TabBox.js
+++ b/
Roo/bootstrap/dash/TabBox.js
@@
-164,19
+164,19
@@
Roo.apply(Roo.bootstrap.dash.TabBox, {
boxes: {},
/**
boxes: {},
/**
- * register a
Navigation Group
- * @param {Roo.bootstrap.
NavGroup} the navgroup
to add
+ * register a
TabBox
+ * @param {Roo.bootstrap.
dash.TabBox} the box
to add
*/
*/
- register : function(
navgrp
)
+ register : function(
box
)
{
{
- this.
groups[navgrp.navId] = navgrp
;
+ this.
boxes[box.name] = box
;
},
/**
},
/**
- * fetch a
Navigation Group based on the navigation ID
+ * fetch a
box based on the box name
* if one does not exist , it will get created.
* if one does not exist , it will get created.
- * @param {string} the
navgroup to add
- * @returns {Roo.bootstrap.
NavGroup} the navgroup
+ * @param {string} the
box name
+ * @returns {Roo.bootstrap.
dash.TabBox} the box
*/
get: function(navId) {
if (typeof(this.groups[navId]) == 'undefined') {
*/
get: function(navId) {
if (typeof(this.groups[navId]) == 'undefined') {