mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #3748: Fix return code for support credentials request
This commit is contained in:
parent
7972b86665
commit
28f9d11969
@ -65,7 +65,6 @@ define(function(require) {
|
||||
$.ajax({
|
||||
url: 'support/credentials',
|
||||
type: "POST",
|
||||
dataType: "text",
|
||||
data: JSON.stringify(data),
|
||||
success: function(){
|
||||
$(".submit_support_credentials_button", context).removeAttr("disabled");
|
||||
|
@ -5,7 +5,6 @@ define(function(require) {
|
||||
"Support.refresh" : {
|
||||
type: "action",
|
||||
layout: "refresh",
|
||||
text: '<i class="fa fa-refresh fa fa-lg">',
|
||||
alwaysActive: true
|
||||
},
|
||||
"Support.upload" : {
|
||||
@ -29,4 +28,4 @@ define(function(require) {
|
||||
};
|
||||
|
||||
return Buttons;
|
||||
});
|
||||
});
|
||||
|
@ -252,7 +252,7 @@ post '/support/credentials' do
|
||||
|
||||
zendesk_client
|
||||
|
||||
[201, ""]
|
||||
[204, ""]
|
||||
end
|
||||
|
||||
delete '/support/credentials' do
|
||||
@ -261,5 +261,5 @@ delete '/support/credentials' do
|
||||
session["zendesk_email"] = nil
|
||||
session["zendesk_password"] = nil
|
||||
|
||||
[201, ""]
|
||||
[204, ""]
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user