dennis hoersch created TOMAHAWK-1631:
----------------------------------------
Summary: inputCalendar (js-popup): exception in popcalendar.js
Key: TOMAHAWK-1631
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1631
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Calendar
Affects Versions: 1.1.11
Environment: MyFaces 2.1.6, Tomahawk20 1.1.11
Reporter: dennis hoersch
I get an exception '_formatInt not found on [object]'.
But that appears only in special cirumstances, not in normal usage: I am
merging all js-files (myfaces and our own) into one single file.
If I then open a calendar popup and click i.e. the year-dropdown the exception
occurs.
The '_formatInt' exists at the end of 'popcalendar.js. I found that if I move
this prototype-declaration before the function declaration prior to that the
exception disappears.
I don't know why...
(
move
'org_apache_myfaces_PopupCalendar.prototype._formatInt'
before
'function org_apache_myfaces_Rectangle()'
)
Greetings
dennis
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira