projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b09929f
)
Roo/bootstrap/TimeField.js
author
Alan Knowles
<alan@roojs.com>
Mon, 8 Feb 2021 02:51:11 +0000
(10:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 8 Feb 2021 02:51:11 +0000
(10:51 +0800)
Roo/bootstrap/TimeField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TimeField.js
b/Roo/bootstrap/TimeField.js
index
4bd45d6
..
9045596
100644
(file)
--- a/
Roo/bootstrap/TimeField.js
+++ b/
Roo/bootstrap/TimeField.js
@@
-126,7
+126,7
@@
Roo.extend(Roo.bootstrap.TimeField, Roo.bootstrap.Input, {
picker : function()
{
picker : function()
{
- return this.
el.select('.datepicker', true).first()
;
+ return this.
pickerEl
;
},
fillTime: function()
},
fillTime: function()
@@
-444,48
+444,7
@@
Roo.extend(Roo.bootstrap.TimeField, Roo.bootstrap.Input, {
});
});
-
-Roo.apply(Roo.bootstrap.TimeField, {
-
- content : {
- tag: 'tbody',
- cn: [
- {
- tag: 'tr',
- cn: [
- {
- tag: 'td',
- colspan: '7'
- }
- ]
- }
- ]
- },
-
- footer : {
- tag: 'tfoot',
- cn: [
- {
- tag: 'tr',
- cn: [
- {
- tag: 'th',
- colspan: '7',
- cls: '',
- cn: [
- {
- tag: 'button',
- cls: 'btn btn-info ok',
- html: 'OK'
- }
- ]
- }
-
- ]
- }
- ]
- }
-});
+
Roo.apply(Roo.bootstrap.TimeField, {
Roo.apply(Roo.bootstrap.TimeField, {
@@
-501,8
+460,43
@@
Roo.apply(Roo.bootstrap.TimeField, {
tag: 'table',
cls: 'table-condensed',
cn:[
tag: 'table',
cls: 'table-condensed',
cn:[
- Roo.bootstrap.TimeField.content,
- Roo.bootstrap.TimeField.footer
+ {
+ tag: 'tbody',
+ cn: [
+ {
+ tag: 'tr',
+ cn: [
+ {
+ tag: 'td',
+ colspan: '7'
+ }
+ ]
+ }
+ ]
+ },
+ {
+ tag: 'tfoot',
+ cn: [
+ {
+ tag: 'tr',
+ cn: [
+ {
+ tag: 'th',
+ colspan: '7',
+ cls: '',
+ cn: [
+ {
+ tag: 'button',
+ cls: 'btn btn-info ok',
+ html: 'OK'
+ }
+ ]
+ }
+
+ ]
+ }
+ ]
+ }
]
}
]
]
}
]