Skip to content
Snippets Groups Projects

Restyle with AdminLTE

Merged Hahn Axel (hahn) requested to merge restyle-adminlte into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -44,6 +44,7 @@ function getQueryParams() {
* @returns {undefined}
*/
function getPageItem(id, sMoreData, bNoAdressbarUpdate) {
var contentid=id+"-content";
clog("getPageItem('"+id+"', '"+sMoreData+"')");
// $('#'+id).html('reading ...');
if (!$('#' + id).hasClass('active')) {
@@ -64,11 +65,11 @@ function getPageItem(id, sMoreData, bNoAdressbarUpdate) {
type: "GET",
success: function (data) {
$('#' + id).css('opacity', '1');
$('#' + id).html(data);
$('#' + contentid).html(data);
},
error: function () {
$('#' + id).css('opacity', false);
$('#' + id).html('Failed :-/');
$('#' + contentid).html('Failed :-/');
$('#errorlog').html(
$('#errorlog').html('AJAX error: <a href="' + phpscript + '?' + sData + '">' + phpscript + '?' + sData + '</a>')
);
Loading