conflict with timepickr plugin and Array.prototype.remove()
Using the timepickr plugin (http://haineault.com/media/jquery/ui-timepickr/page/) and also somewhere in my application the remove method from John (http://ejohn.org/blog/javascript-array-remove/) on an array, timepickr returns an error: "Node cannot be inserted at the specified point in the hierarchy" code: "3". This is because of the fact, that the method "buildMenu" from timepickr tries to append something to the "menu".
If i put out the "ranges" into firebug console i get an array with three objects, the first of it contains this innerHTML:
<li class="ui-reset ui-timepickr prefix"><span class="ui-default-state">am</span></li><li class="ui-reset ui-timepickr prefix"><span class="ui-default-state">pm</span></li><li class="ui-reset ui-timepickr prefix"><span class="ui-default-state">function (from, to) { var rest = this.slice((to from) + 1 | this.length); this.length = from < 0 ? this.length + from : from; return this.push.apply(this, rest); }</span></li>
|
where "am" and "pm" are the two entries in that specific array but the function that comes from Array.prototype.remove() should not be content of that array.
Change History (1)
Cc: |
CMS added
|
Component: |
unfilled →
plugin
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
Bugs to this plugin are not handled on this Trac. Please contact the plugin owner directly or ask on jQuery's google group.