Skip to content
Snippets Groups Projects
Commit 9cf2c5e2 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

changing url disables save button

parent 965d632c
No related branches found
No related tags found
3 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!62712.2.0~beta.1 into master,!623Resolve "PLUGINS in the admin panel - review"
......@@ -91,6 +91,10 @@ AddPluginDialog.prototype.createGui = function () {
$(self.getElement()).on("click", "[name='validateUrl']", function () {
return self.onValidateClicked().catch(GuiConnector.alert);
});
$(self.getElement()).on("input", "[name='pluginUrl']", function () {
console.log("disable");
$('[name="savePlugin"]', self.getElement()).attr("disabled", true);
});
return self.getElement().appendChild(result);
};
......
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