1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Theme downloading fixes and Theme info GUI fixes. jQuery cache fix.

This commit is contained in:
Cameron
2013-03-03 16:53:17 -08:00
parent a63abab93e
commit 67afc1515e
6 changed files with 193 additions and 97 deletions

View File

@@ -40,15 +40,14 @@ $(document).ready(function()
$('a[data-toggle="modal"]').on('click', function()
{
var link = $(this).attr('href');
var caption = $(this).attr('data-modal-caption');
$('#uiModal .modal-caption').text(caption);
// $('#uiModal .modal-label').text('Loading...');
// $('#uiModal .modal-body').html(link);
alert(link);
// alert(caption);
}
);
/*
$('a[data-toggle="modal"]').on('click', function()

View File

@@ -3,7 +3,8 @@ $.ajaxSetup({
dataFilter: function(data, type) {
if(type != 'json' || !data) return data;
return data.replace(/^\/\*-secure-([\s\S]*)\*\/\s*$/, '$1');
}
},
cache: false // Was Really NEeded!
});
$(document).ready(function()