关闭所有 bug

This commit is contained in:
Van 2015-01-04 15:31:03 +08:00
parent 5f22b9a6a7
commit cfd5027396
3 changed files with 10 additions and 1 deletions

View File

@ -63,6 +63,10 @@
text-decoration: none; text-decoration: none;
} }
.dialog-close-icon:hover {
text-decoration: none;
}
.dialog-main > div { .dialog-main > div {
width: 100%; width: 100%;
} }

View File

@ -43,6 +43,10 @@ $.extend(Tabs.prototype, {
var _that = this; var _that = this;
obj._$tabs.on("click", "div", function (event) { obj._$tabs.on("click", "div", function (event) {
if ($(this).hasClass('current')) {
return false;
}
var id = $(this).data("index"); var id = $(this).data("index");
_that.setCurrent(id); _that.setCurrent(id);
if (typeof (obj.clickAfter) === "function") { if (typeof (obj.clickAfter) === "function") {

View File

@ -30,6 +30,7 @@ var wide = {
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
async: false,
url: config.context + '/outline', url: config.context + '/outline',
data: JSON.stringify(request), data: JSON.stringify(request),
dataType: "json", dataType: "json",
@ -85,7 +86,7 @@ var wide = {
$("#dialogAlert").dialog({ $("#dialogAlert").dialog({
"modal": true, "modal": true,
"height": 26, "height": 36,
"width": 260, "width": 260,
"title": config.label.tip, "title": config.label.tip,
"hiddenOk": true, "hiddenOk": true,