ImageSubmitTagExt
=================

Added :disable option to image_submit_tag helper, which functions like :disable_with option of submit_tag, prevents the submit button being pressed when the form is submitted.


Example
=======

image_submit_tag("submit.png", :disable => true)
# => <input onclick="this.disabled = true;result = (this.form.onsubmit ? (this.form.onsubmit() ? this.form.submit() : false) : this.form.submit());if (result == false) { this.disabled = false; }return result;" src="/images/submit.png" type="image" /> 

Copyright (c) 2010 Junya Ishihara, released under the MIT license
