Commit 02d7e324 authored by bbaer's avatar bbaer
Browse files

Save no turns orange when saving.

parent b3de43e5
......@@ -164,6 +164,8 @@ var QfqNS = QfqNS || {};
textStatus: textStatus,
jqXHR: jqXHR
}));
$("#save-button").removeClass('btn-warning active');
$("#save-button").addClass('btn-default');
};
/**
......@@ -236,4 +238,4 @@ var QfqNS = QfqNS || {};
return null;
};
})(QfqNS);
})(QfqNS);
\ No newline at end of file
......@@ -510,6 +510,8 @@ var QfqNS = QfqNS || {};
n.QfqForm.prototype.handleSaveClick = function () {
this.lastButtonPress = "save";
n.Log.debug("save click");
this.getSaveButton().removeClass('btn-info');
this.getSaveButton().addClass('btn-warning active');
this.submit();
};
......@@ -568,12 +570,6 @@ var QfqNS = QfqNS || {};
alert.show();
return;
}
var info = new n.Alert({
message: "Saving changes",
type: "info"
});
info.show();
this.resetHandler();
// First, remove all validation states, in case a previous submit has set a validation state, thus we're not
// stockpiling them.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment