projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readonly for date fields should not show popup
[roojs1]
/
Roo
/
form
/
DateField.js
diff --git
a/Roo/form/DateField.js
b/Roo/form/DateField.js
index
030f671
..
cf7a557
100644
(file)
--- a/
Roo/form/DateField.js
+++ b/
Roo/form/DateField.js
@@
-341,7
+341,7
@@
dateField.setValue('2006-5-4');
// private
// Implements the default empty TriggerField.onTriggerClick function to display the DatePicker
onTriggerClick : function(){
- if(this.disabled){
+ if(this.disabled
|| this.readOnly
){
return;
}
if(this.menu == null){