projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
should not be able to change date on readonly
[roojs1]
/
Roo
/
bootstrap
/
form
/
DateField.js
diff --git
a/Roo/bootstrap/form/DateField.js
b/Roo/bootstrap/form/DateField.js
index
c93bf08
..
a489975
100644
(file)
--- a/
Roo/bootstrap/form/DateField.js
+++ b/
Roo/bootstrap/form/DateField.js
@@
-563,7
+563,10
@@
Roo.extend(Roo.bootstrap.form.DateField, Roo.bootstrap.form.Input, {
showPopup : function()
{
- this.picker().show();
+ if(this.readOnly) {
+ return;
+ }
+ this.picker().show();
this.update();
this.place();