Hello,
In latest joomla3.7.2 Calendar.setup is not working.its working fine in joomla3.6.
Calendar.setup({
inputField : "test-inputfield",
ifFormat : "%Y-%m-%d",
showsTime : false,
button : "calImg",
align : "BR"
});
Joomla 3.7.2 gives me TypeError: r is undefined in calander.min.js
Any one have load custom Joomla date like this way.
I want to load this way.
Best of luck in advance.
Thanks
akashpatel
Labels |
Added:
?
|
Title |
|
Category | ⇒ | JavaScript |
Status | New | ⇒ | Information Required |
Hello @dgt41
Thanks for the super-fast reply :)
yes. my calendar.setup script is load in popup in js.
Are you loading the calendar (check the page assets if the scripts, css files are there) ?
Answer : yes if i load calendar then its working fine.but not in popup :(
@erakashpatel if the popup opens an iframe then you need to load the scripts there as well
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-10 12:11:16 |
Closed_By | ⇒ | erakashpatel |
@erakashpatel as long as you already loaded the required scripts https://github.com/joomla/joomla-cms/blob/staging/layouts/joomla/form/field/calendar.php#L97-L104 this snippet should work. Are you loading the calendar (check the page assets if the scripts, css files are there) ?