Closed (fixed)
Project:
Ejector Seat
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2013 at 17:03 UTC
Updated:
23 Dec 2025 at 05:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fenda commentedComment #2
fenda commentedComment #3
BrockBoland commentedI tested this in both Chrome and Firefox and found that the
once()function isn't being run (I stuck aconsole.loginside the anon function to check). It doesn't work for window or document, but does using the 'body' selector…except then, it runs on ajax calls too.I'm not sure if the once plugin has any weird behaviors when it comes to attaching to document or window, and haven't had any luck finding info. Any ideas?
Comment #4
RemovE commentedEverything is working for me when I changed ejectorseat.js(15) one line.
From:
$(window, context).once('ejectorseat', function() {To:
$(document.body, context).once('ejectorseat', function() {Comment #5
matthiasm11 commentedApplying the patch from #1 and than changing as explained in #4 worked for me, startTimer() is only called once when editing a view for example.
Comment #6
nwom commentedAttached is a new patch that incorporates the changes from #4 into #1. Please review.
Comment #7
elc commentedAn important fix which should be ported to D8+ version too.
Comment #9
elc commented