Fix issue which broke setup of Web UI unit tests
Web UI itself wasn't negatively affected. https://fedorahosted.org/freeipa/ticket/2897
This commit is contained in:
1 parent
36c345dd1d
commit
7d3aa96103
1 file changed
+3
-1
+3
-1
@@ -194,7 +194,9 @@ var IPA = function() {
|
||||
],
|
||||
on_success: function(data, text_status, xhr) {
|
||||
IPA.ui.initialized = true;
|
||||
params.on_success.call(this, data, text_status, xhr);
|
||||
if (params.on_success) {
|
||||
params.on_success.call(this, data, text_status, xhr);
|
||||
}
|
||||
},
|
||||
on_error: params.on_error
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user