Remove the duplicate method call when retrieving the instance log

There are two identical ways to get an instance log
and it should delete the incorrect one.

[0] openstack_dashboard/static/js/horizon.firewalls.js#L24
[1] openstack_dashboard/static/js/horizon.instances.js#L28

Change-Id: I78641f4a5ddf51f905eed1679bb5552529c85e3e
Closes-Bug: #1693536
This commit is contained in:
wei.ying 2017-05-18 11:27:01 +08:00
parent 52043337df
commit 34caf71d4a

View File

@ -19,10 +19,3 @@ horizon.firewalls = {
horizon.lists.generate_html("router");
}
};
horizon.addInitFunction(horizon.firewalls.init = function () {
$(document).on('submit', '#tail_length', function (evt) {
horizon.lists.get_console_log(true, true);
evt.preventDefault();
});
});