Skip to content

Commit

Permalink
Another prototypejs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 7, 2014
1 parent 8fa398a commit 33b7762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion framework/Core/js/prototype.js
Expand Up @@ -1117,7 +1117,7 @@ Array.from = $A;
(function() {
var arrayProto = Array.prototype,
slice = arrayProto.slice,
_each = Prototype.Browser.IE ? null : arrayProto.forEach; // use native browser JS 1.6 implementation if available (HORDE EDIT)
_each = arrayProto.forEach; // use native browser JS 1.6 implementation if available

function each(iterator, context) {
for (var i = 0, length = this.length >>> 0; i < length; i++) {
Expand Down Expand Up @@ -3287,6 +3287,7 @@ Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {

function checkElementPrototypeDeficiency(tagName) {
if (typeof window.Element === 'undefined') return false;
if (!HAS_EXTENDED_CREATE_ELEMENT_SYNTAX) return false;
var proto = window.Element.prototype;
if (proto) {
var id = '_' + (Math.random() + '').slice(2),
Expand Down
4 changes: 2 additions & 2 deletions framework/Core/package.xml
Expand Up @@ -41,7 +41,7 @@
<notes>
* [mms] Add Horde_Session#getUniqueId().
* [mms] Add abstracted web notifications interface to the Horde_Notification system.
* [mms] Upgrade prototype.js to most recent git version (0df1298f807818471209b7e7971c3480e36a4f71).
* [mms] Upgrade prototype.js to most recent git version (3523295165460a1a371f248454bc311103294f13).
* [mjr] Fix issue that causes enter to submit the form when inside the pretty autocompleter (Bug #12923).
* [mms] Don&apos;t store preference UI elements in the session cache storage.
* [mjr] Send the PRIMARYSMTPADDRESS to EAS clients, if appropriate (Request #13062).
Expand Down Expand Up @@ -3370,7 +3370,7 @@
<notes>
* [mms] Add Horde_Session#getUniqueId().
* [mms] Add abstracted web notifications interface to the Horde_Notification system.
* [mms] Upgrade prototype.js to most recent git version (0df1298f807818471209b7e7971c3480e36a4f71).
* [mms] Upgrade prototype.js to most recent git version (3523295165460a1a371f248454bc311103294f13).
* [mjr] Fix issue that causes enter to submit the form when inside the pretty autocompleter (Bug #12923).
* [mms] Don&apos;t store preference UI elements in the session cache storage.
* [mjr] Send the PRIMARYSMTPADDRESS to EAS clients, if appropriate (Request #13062).
Expand Down

0 comments on commit 33b7762

Please sign in to comment.