projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e88435
)
Roo/bootstrap/DateField.js
author
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 06:24:36 +0000
(14:24 +0800)
committer
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 06:24:36 +0000
(14:24 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
0a8767a
..
f86397a
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-524,8
+524,13
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
this.hide();
},
- show : function()
+ show : function(
isElement
)
{
+ if(isElement){
+ this.getEl().removeClass('hidden');
+ return;
+ }
+
this.picker().show();
this.update();
this.place();
@@
-533,8
+538,13
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
this.fireEvent('show', this, this.date);
},
- hide : function()
+ hide : function(
isElement
)
{
+ if(isElement){
+ this.getEl().addClass('hidden');
+ return;
+ }
+
if(this.isInline) {
return;
}