Skip to content
Snippets Groups Projects
Commit b8cb374a authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch 'feature_4172' into 'master'

Implemented https://project.math.uzh.ch/issues/4172



See merge request !10
parents 1ffeee46 5b59c8cc
No related branches found
No related tags found
1 merge request!10Implemented https://project.math.uzh.ch/issues/4172
...@@ -688,6 +688,8 @@ var QfqNS = QfqNS || {}; ...@@ -688,6 +688,8 @@ var QfqNS = QfqNS || {};
} }
var alert = new n.Alert(data.message, "error"); var alert = new n.Alert(data.message, "error");
alert.show(); alert.show();
this.setButtonEnabled(this.getDeleteButton(), false);
}; };
/** /**
...@@ -1150,6 +1152,7 @@ var QfqNS = QfqNS || {}; ...@@ -1150,6 +1152,7 @@ var QfqNS = QfqNS || {};
return !(!!this.form.$form.data('disable-return-key-submit')); return !(!!this.form.$form.data('disable-return-key-submit'));
}; };
// TODO: Ain't there a jQuery function accomplishing the same task
n.QfqForm.prototype.appendQueryParametersToUrl = function (url, queryParameterObject) { n.QfqForm.prototype.appendQueryParametersToUrl = function (url, queryParameterObject) {
var queryParameterString = $.param(queryParameterObject); var queryParameterString = $.param(queryParameterObject);
if (url.indexOf('?') !== -1) { if (url.indexOf('?') !== -1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment