Martijn Geerts Posted August 1, 2012 Share Posted August 1, 2012 Was thinking of double click page to edit that page in the admin. Link to comment Share on other sites More sharing options...
Pete Posted August 1, 2012 Share Posted August 1, 2012 That's a nice idea. I've just been getting used to this in LemonStand and I guess it wouldn't be massively difficult to implement, just not sure quite how you'd go about doing so in terms of which files to edit. Link to comment Share on other sites More sharing options...
yellowled Posted August 1, 2012 Share Posted August 1, 2012 If implemented in the core, it should be an option, not a default, I guess. Or at least, it should be possible to switch back to the "old" behaviour. (You'd be astonished how many people have difficulties performing a double-click.) 2 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted August 1, 2012 Author Share Posted August 1, 2012 Think I agree with you yellowled. Think you do a double click with a timer, than you could set the doubleclick time. Or set on 0, to disable it. 1 Link to comment Share on other sites More sharing options...
Pete Posted August 1, 2012 Share Posted August 1, 2012 It's a very good point, so I think this is definitely a candidate for a module rather than core functionality since it's a) up to the individual developer if they want to add it and b ) has some configurable elements as well. The timer idea would be a nice touch. Link to comment Share on other sites More sharing options...
Soma Posted August 2, 2012 Share Posted August 2, 2012 It is already double click to edit. If you train some you get pretty fast with it. 1 Link to comment Share on other sites More sharing options...
apeisa Posted August 2, 2012 Share Posted August 2, 2012 Soma you cheating on me? My fingers hurt... Link to comment Share on other sites More sharing options...
diogo Posted August 2, 2012 Share Posted August 2, 2012 Second click has to be a bit for the right 2 Link to comment Share on other sites More sharing options...
ryan Posted August 2, 2012 Share Posted August 2, 2012 I tried to implement a double click to edit a long while back. jQuery has the dblclick() event, which makes it pretty easy to differentiate from a click() event. The problem is, I never could get it working. dblclick() would never fire for me. It might have just been a bug in jQuery at the time or something. Maybe worth trying again. Link to comment Share on other sites More sharing options...
Soma Posted August 2, 2012 Share Posted August 2, 2012 Hmm. I used double click feature in jstree http://www.jstree.com/ in a project and I think it's done using dblclick event. Never noticed any problems. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now