Hikaserial export button does not work

  • Posts: 22
  • Thank you received: 1
9 years 7 months ago #197859

-- 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.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #197880

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

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
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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 9 years 7 months ago by Jerome.

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

  • Posts: 22
  • Thank you received: 1
9 years 7 months ago #197899

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.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #197908

Hi,

Right, I forgot the other modification in the file "administrator/components/com_hikaserial/buttons/hikapopup.php" where you have to replace the line

'<button class="btn btn-primary" type="submit" onclick="return window.hikashop.submitPopup(\\\''.$name.'\\\');">'.JText::_('HIKA_VALIDATE').'</button>'.
By
'<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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: valete

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

  • Posts: 22
  • Thank you received: 1
9 years 7 months ago #197940

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.060 seconds
Powered by Kunena Forum