[Vtigercrm-developers] user export function not working in Firefox
Uma S
uma.s at vtiger.com
Wed May 6 07:05:09 GMT 2015
Hi,
We are able to reproduce this issue on our current_trac, which we have
noted here in trac <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8555> will
get back with fix soon.
Please leave your further observations on this issue here in trac.
On Wed, May 6, 2015 at 7:07 AM, Hamono, Chris (DPC) <Chris.Hamono at sa.gov.au>
wrote:
>
>
> Vtiger 6.2
>
>
>
> When clicking on export users nothing happens
>
>
>
> The problem appears to be in the export script in
>
> layouts\vlayout\modules\Users\resources\List.js
>
>
>
> The function
>
>
>
> triggerExportAction: function() {
>
> var url = window.location.href;
>
> var siteUrl = url.split('?');
>
> var newForm = jQuery('<form>', {
>
> 'method': 'post',
>
> 'action': siteUrl[0] +
> '?module=Users&source_module=Users&action=ExportData',
>
> }).append(jQuery('<input>', {
>
> 'name': csrfMagicName,
>
> 'value': csrfMagicToken,
>
> 'type': 'hidden'
>
> }));
>
> newForm.submit();
>
> }
>
>
>
> Needs to be changed to (or something similar)
>
>
>
> triggerExportAction: function() {
>
> var url = window.location.href;
>
> var siteUrl = url.split('?');
>
> var newForm = jQuery('<form>', {
>
> 'method': 'post',
>
> 'action': siteUrl[0] +
> '?module=Users&source_module=Users&action=ExportData',
>
> }).append(jQuery('<input>', {
>
> 'name': csrfMagicName,
>
> 'value': csrfMagicToken,
>
> 'type': 'hidden'
>
> }));
>
> jQuery(newForm).appendTo('body')[0].submit();
>
> }
>
>
>
>
>
> A cleanup may be required to remove the new dom form element in case the
> export button is repeatedly used
>
>
>
> Chris
>
> _______________________________________________
> http://www.vtiger.com/
>
--
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150506/c830455b/attachment.html>
More information about the vtigercrm-developers
mailing list