Browse Source

ajax табы больше не нужны, удалил их

devel
bashmak 9 years ago
parent
commit
a49570fded
  1. 9
      static/js/my.js

9
static/js/my.js

@ -72,15 +72,6 @@ $(document).ajaxError(function (ev, jqXHR, ajaxSettings, thrownError) {
$(document).ready(function () {
// ajax tabs
$('.nav-tabs a').on('show.bs.tab', function (e) {
var ct = $(e.target).attr('href');
var remoteUrl = $(this).attr('data-tab-remote');
if (remoteUrl !== '') {
$(ct).load(remoteUrl);
}
});
// Live html5 image preview
if (window.File && window.FileReader && window.FileList && window.Blob) {
$('input[type=file].live_review').on('change', function () {

Loading…
Cancel
Save