Hide submit button not work with imce when "browse the imce window for uploading a file", it is not stop,once you click on upload button.

please check it.

Comments

not_Dries_Buytaert’s picture

Title: Make 'Hide submit button' module compatible with the upload button of the 'IMCE (Wysiwyg bridge)' module » Make 'Hide submit button' module compatible with the upload button of IMCE

The module works fine with the module http://drupal.org/project/imce_wysiwyg (6.x-1.1), except with the Upload button of that module.

I consider this a bug (not feature request), because it doesn't work to add on the 'admin/settings/hide-submit form' the value:
1) 'imce-upload-form' to the 'Form-id exclusion list' field or
2) '[value=Upload]' to the 'Attribute Filter (Experimental)' field.

The HTML-code of the form containing the button:

<div id="op-content-upload" class="op-content" style="display: block;">
<form enctype="multipart/form-data" id="imce-upload-form" method="post" accept-charset="UTF-8" action="/imce">
<div>
<div id="edit-imce-wrapper" class="form-item">
 <label for="edit-imce">File: </label>
 <input type="file" size="30" id="edit-imce" class="form-file" name="files[imce]">
</div>
<div class="fieldset-wrapper"><a href="/admin/user/captcha/captcha/captcha_point/imce_upload_form?destination=imce%3Fapp%3Dtinymce%257Curl%2540src">Place a CAPTCHA here for untrusted users.</a></div>
<input type="submit" class="form-submit" value="Upload" id="edit-upload" name="op" style="border: 6px solid green;">
<input type="hidden" value="form-{id}" id="form-{id}" name="form_build_id">
<input type="hidden" value="{id}" id="edit-imce-upload-form-form-token" name="form_token">
<input type="hidden" value="imce_upload_form" id="edit-imce-upload-form" name="form_id">
</div>
</form>
</div>

I think especially this part from above code is critical, as it is for the upload button:
<input type="submit" class="form-submit" value="Upload" id="edit-upload" name="op" style="border: 6px solid green;">

not_Dries_Buytaert’s picture

Title: Hide submit button not work with imce » Make 'Hide submit button' module compatible with the upload button of the 'IMCE (Wysiwyg bridge)' module
not_Dries_Buytaert’s picture

Title: Make 'Hide submit button' module compatible with the upload button of IMCE » Make 'Hide submit button' module compatible with the upload button of the 'IMCE (Wysiwyg bridge)' module
Version: 6.x-1.9 » 6.x-1.x-dev
Assigned: vikas.yadav2184 » Unassigned

The issue also occurs with 6.x-1.10.

I changed to whom this issue is assigned and the version, so the maintainer or others may have a look at it too. Please, change it back, if this is incorrect.

greggles’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Thanks for submitting this issue.

The 6.x branch of this module is not supported. This issue was filed against the 6.x version so I'm closing it because it doesn't seem relevant to the 7.x version.

If the issue is relevant for the 7.x version: I apologize for closing it. Can you please reopen it and adjust the version number?