diff --git a/xadmin/static/xadmin/js/xadmin.plugin.bookmark.js b/xadmin/static/xadmin/js/xadmin.plugin.bookmark.js
index 7065f2b32..8af6f0d82 100644
--- a/xadmin/static/xadmin/js/xadmin.plugin.bookmark.js
+++ b/xadmin/static/xadmin/js/xadmin.plugin.bookmark.js
@@ -7,7 +7,7 @@
f.find('button[type=submit]').button('loading');
$.post(f.attr('action'), f.serialize(), function(data){
$('#bookmark-menu .add-bookmark').remove();
- $('#bookmark-menu').append('
'+ data.title +'');
+ $('#bookmark-menu').append(' '+ data.title +'');
}, 'json');
return false;
});
diff --git a/xadmin/static/xadmin/js/xadmin.plugin.details.js b/xadmin/static/xadmin/js/xadmin.plugin.details.js
index be353f66e..9bfa75dbf 100644
--- a/xadmin/static/xadmin/js/xadmin.plugin.details.js
+++ b/xadmin/static/xadmin/js/xadmin.plugin.details.js
@@ -22,12 +22,12 @@
''+
'');
+ ' Edit');
$('body').append(modal);
}
modal.find('.modal-title').html(el.attr('title'));
modal.find('.edit-btn').attr('href', this.edit_uri);
- modal.find('.modal-body').html('
');
+ modal.find('.modal-body').html('
');
modal.find('.modal-body').load(this.res_uri + '?_format=html', function(response, status, xhr) {
if (status == "error") {
var msg = "Sorry but there was an error: ";
diff --git a/xadmin/static/xadmin/js/xadmin.plugin.editable.js b/xadmin/static/xadmin/js/xadmin.plugin.editable.js
index 3d66a9f86..31cb89f31 100644
--- a/xadmin/static/xadmin/js/xadmin.plugin.editable.js
+++ b/xadmin/static/xadmin/js/xadmin.plugin.editable.js
@@ -67,11 +67,11 @@
if(this.content == null){
var that = this
- $el.find('>i').removeClass('icon-edit').addClass('fa-spinner fa-spin')
+ $el.find('>i').removeClass('fa fa-edit').addClass('fa-spinner fa-spin')
$.ajax({
url: $el.data('editable-loadurl'),
success: function(content){
- $el.find('>i').removeClass('fa-spinner fa-spin').addClass('icon-edit')
+ $el.find('>i').removeClass('fa-spinner fa-spin').addClass('fa fa-edit')
that.content = content
that.toggle()
},
@@ -94,7 +94,7 @@
$form.submit($.proxy(this.submit, this))
this.$form = $form
- this.$mask = $('
')
+ this.$mask = $('
')
$tip.find('.popover-content').prepend(this.$mask)
$tip.removeClass('fade top bottom left right in')
diff --git a/xadmin/static/xadmin/js/xadmin.plugin.portal.js b/xadmin/static/xadmin/js/xadmin.plugin.portal.js
index 50554d791..18d04bdc5 100644
--- a/xadmin/static/xadmin/js/xadmin.plugin.portal.js
+++ b/xadmin/static/xadmin/js/xadmin.plugin.portal.js
@@ -23,7 +23,7 @@ jQuery(function() {
});
$( ".panel-heading .icon.chevron" ).click(function() {
- $( this ).toggleClass( "icon-chevron-up" ).toggleClass( "icon-chevron-down" );
+ $( this ).toggleClass( "fa fa-chevron-up" ).toggleClass( "fa fa-chevron-down" );
$( this ).parents( ".panel:first" ).find( ".panel-body" ).toggle('fast');
});
diff --git a/xadmin/static/xadmin/js/xadmin.plugin.quick-form.js b/xadmin/static/xadmin/js/xadmin.plugin.quick-form.js
index 91cf0409b..779300d53 100644
--- a/xadmin/static/xadmin/js/xadmin.plugin.quick-form.js
+++ b/xadmin/static/xadmin/js/xadmin.plugin.quick-form.js
@@ -19,7 +19,7 @@
constructor: AjaxForm
, ainit: function(){
- this.$mask = $('
')
+ this.$mask = $('
')
this.$form.prepend(this.$mask)
this.$form.submit($.proxy(this.submit, this))
@@ -174,7 +174,7 @@
$('body').append(modal)
var self = this
- modal.find('.modal-body').html('
')
+ modal.find('.modal-body').html('
')
modal.find('.modal-body').load(this.add_url, function(form_html, status, xhr){
var form = $(this).find('form')
form.addClass('quick-form')
diff --git a/xadmin/static/xadmin/js/xadmin.plugin.themes.js b/xadmin/static/xadmin/js/xadmin.plugin.themes.js
index 3347c20fd..fcd715810 100644
--- a/xadmin/static/xadmin/js/xadmin.plugin.themes.js
+++ b/xadmin/static/xadmin/js/xadmin.plugin.themes.js
@@ -36,7 +36,7 @@
if(topmenu.data('bs.collapse')) topmenu.collapse('hide');
var modal = $('');
+ 'Loading theme
');
$('body').append(modal);
modal.on('shown.bs.modal', function(){