Skip to main content

Hikaserial export button does not work

More
11 years 5 months ago #197859 by valete
-- HikaShop version -- : 2.4.0
-- HikaSerial version -- : 1.9.1
-- Joomla version -- : 3.4.0

Good Morning,

After implementing hikaserial the csv export of serial numbers worked perfectly fine. However it has stopped working after the joomla 3.4 update.

I already installed the most recent version of hikashop and hikaseral, cleared the cache, and tried chrome, opera and firefox.

Upon clicking the "validate" button to start the export, nothing is happening.

Kind regards,

Chantal van Ree

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 11 years 5 months ago #197880 by Jerome
Hi,

Thanks for the report.
In Joomla 3.4 ; the popup changed and the HTML is not the same, some things that was possible previously are not the same today.

So please the file "media/com_hikashop/js/hikashop.js" and replace
Code:
submitPopup: function(id, task, form) { var d = document, t = this, el = d.getElementById('modal-'+id+'-iframe'); if(el && el.contentWindow.hikashop) { if(task === undefined) task = null; if(form === undefined) form = 'adminForm'; el.contentWindow.hikashop.submitform(task, form); } return false; },
By
Code:
submitPopup: function(id, task, form) { var d = document, t = this, el = d.getElementById('modal-'+id+'-iframe'); if(!el) { if(document.getElementById('modal-' + id + '-container')) el = jQuery('#modal-' + id + '-container').find('iframe').get(0); else el = jQuery('#modal-' + id).find('iframe').get(0); } if(el && el.contentWindow.hikashop) { if(task === undefined) task = null; if(form === undefined) form = 'adminForm'; el.contentWindow.hikashop.submitform(task, form); } return false; },
It will fix the issue.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 11 years 5 months ago by Jerome.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #197899 by valete
Hi Jerome,

thnx for your response.

I did like you asked me to, but this does not fix my issue. Submit button is still not responding

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #197908 by Jerome
Hi,

Right, I forgot the other modification in the file "administrator/components/com_hikaserial/buttons/hikapopup.php" where you have to replace the line
Code:
'<button class="btn btn-primary" type="submit" onclick="return window.hikashop.submitPopup(\\\''.$name.'\\\');">'.JText::_('HIKA_VALIDATE').'</button>'.
By
Code:
'<button class="btn btn-primary" type="submit" onclick="return window.hikashop.submitPopup(\''.$name.'\');">'.JText::_('HIKA_VALIDATE').'</button>'.
Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: valete

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #197940 by valete
Hi Jerome,

Working like a charm again!

thank you!

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.169 seconds
Powered by Kunena Forum