First corrections.
Fix more styling issues. Conflicts: wise-webapp/src/main/webapp/jsp/accountSettings.jsp
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
// Hack for bootstrap issue with IE10. https://github.com/twbs/bootstrap/issues/3672
|
||||
if ($.browser.msie && $.browser.version > 9) {
|
||||
$('.modal').removeClass('fade');
|
||||
}
|
||||
|
||||
$.fn.dataTableExt.oApi.fnReloadAjax = function (oSettings, sNewSource, fnCallback, bStandingRedraw) {
|
||||
if (typeof sNewSource != 'undefined' && sNewSource != null) {
|
||||
oSettings.sAjaxSource = sNewSource;
|
||||
@@ -86,8 +81,8 @@ jQuery.fn.dialogForm = function (options) {
|
||||
var url = options.url;
|
||||
|
||||
// Clear previous state ...
|
||||
$("#" + containerId).find('.errorMessage').text("").removeClass("alert alert-error");
|
||||
$("#" + containerId).find('.control-group').removeClass('error');
|
||||
$("#" + containerId).find('.errorMessage').text("").removeClass("alert alert-danger");
|
||||
$("#" + containerId).find('.form-group').removeClass('error');
|
||||
|
||||
// Clear form values ...
|
||||
if (options.clearForm == undefined || options.clearForm) {
|
||||
@@ -132,7 +127,7 @@ jQuery.fn.dialogForm = function (options) {
|
||||
var message = fieldErrors[fieldName];
|
||||
var inputField = $("#" + containerId + " input[name='" + fieldName + "']");
|
||||
|
||||
$("#" + containerId).find(".errorMessage").text(message).addClass("alert alert-error");
|
||||
$("#" + containerId).find(".errorMessage").text(message).addClass("alert alert-danger");
|
||||
inputField.parent().addClass('error');
|
||||
}
|
||||
}
|
||||
@@ -396,12 +391,12 @@ $(function () {
|
||||
$('#foldersContainer li').click(function (event) {
|
||||
// Deselect previous option ...
|
||||
$('#foldersContainer li').removeClass('active');
|
||||
$('#foldersContainer i').removeClass('icon-white');
|
||||
$('#foldersContainer i').removeClass('glyphicon-white');
|
||||
|
||||
// Select the new item ...
|
||||
var dataTable = $('#mindmapListTable').dataTable();
|
||||
$(this).addClass('active');
|
||||
$('#foldersContainer .active i').addClass('icon-white');
|
||||
$('#foldersContainer .active i').addClass('glyphicon-white');
|
||||
|
||||
// Reload the table data ...
|
||||
dataTable.fnReloadAjax("c/restful/maps/?q=" + $(this).attr('data-filter'), callbackOnTableInit, true);
|
||||
|
Reference in New Issue
Block a user