Commit f876f3f4 by Muhammad Shoaib

SOL-1267

-fixed the bug in the accordion of the e-commerce html file
parent ee0cd9e8
...@@ -204,11 +204,11 @@ import pytz ...@@ -204,11 +204,11 @@ import pytz
activeHeader: "ui-icon-carat-1-s" activeHeader: "ui-icon-carat-1-s"
}; };
var act = 0; var act = 0;
$(".accordion").accordion( $("#accordion").accordion(
{ {
heightStyle: 'content', heightStyle: 'content',
activate: function(event, ui) { activate: function(event, ui) {
var active = jQuery(".accordion").accordion('option', 'active'); var active = jQuery("#accordion").accordion('option', 'active');
$.cookie('saved_index', null); $.cookie('saved_index', null);
$.cookie('saved_index', active); $.cookie('saved_index', active);
$('#error-msg').val(''); $('#error-msg').val('');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment