Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
clean extra-metas && fix js bug
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiloc committed Apr 23, 2015
1 parent 430397d commit bba4617
Show file tree
Hide file tree
Showing 3 changed files with 173 additions and 120 deletions.
5 changes: 3 additions & 2 deletions admin/scripts/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ jQuery(document).ready(function($) {
$(hash).show();
$("#_extra-metas .title").removeClass("selected");
$("[data-tab='"+ hash +"']").addClass("selected");

$(window).scrollTop(0);
};

$("#_extra-metas .title").click(function () {
Expand Down Expand Up @@ -146,6 +144,9 @@ jQuery(document).ready(function($) {
$(this).find("td").find("input,select").slice(1).prop('disabled', true);
}
});

if (div == '#_extra-metas')
disableFacetsInput('#extra-meta-and-taxonomies');
}

var disabelable = ['#_indexable-types', '#_extra-metas', '#_indexable-types', '#_searchable_attributes', '#_custom-ranking', '#_sortable_attributes'];
Expand Down
Loading

0 comments on commit bba4617

Please sign in to comment.