Posted by ltwinner on July 30, 2012 at 4:38pm
So I click the 'Save' button twice quickly on a new Content Type creation page and the form gets submitted twice and I end up with two new nodes.
Is there a way of preventing this? I am very surprised at this as I thought prevention of double click submission would have been handled in Drupal core along time ago...
Comments
Preventing an accidental
Preventing an accidental double-click is front-end functionality, and I would expect theme to handle it. Some themes actually do, e.g., Blueprint. (There might be more, I haven't specifically researched this issue.)
Drupal as far as I can see is
Drupal as far as I can see is supposed to take care of the back end and front end, there is lots of javascript/jquery functionality. Surely you don't expect all the non-developers to be able to handle stuff like this? Isn't the whole point of Drupal is that it gives you very solid framework to build a site upon?
Surely not handling double click submission on the core node save form would be expected standard functionality?
a) there's no point in
a) there's no point in ranting at me - I have no say in what gets into core anyway; :)
b) this is not a common problem - if it was, there would be a lot more discussions about this functionality;
c) apart from some themes handling this issue, there is also a contributed module for it; it's being used by approx. 0.3% of Drupal installations out there, thus proving b).