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:
@@ -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()
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user