1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

M #~: Remove unused var (#1493)

This commit is contained in:
Sergio Betanzos 2021-09-29 11:09:09 +02:00 committed by GitHub
parent 5313df52c9
commit bdc51492cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -160,11 +160,8 @@ define(function(require) {
var that = this;
var section = $("#" + that.datastoresTable.dataTableId + "Container");
$("#" + that.datastoresTable.dataTableId + " tbody", section).delegate("tr", "click", function(e) {
var wasChecked = $("td.markrow", this).hasClass("markrow");
console.log({"dsTable": that.datastoresTable})
$("#" + that.datastoresTable.dataTableId + " tbody", section).delegate("tr", "click", function() {
var aData = that.datastoresTable.dataTable.fnGetData(this);
var check = aData != undefined && !wasChecked;
if (aData[9] == "vcenter"){
$("#placeDatatablevCenterTemplate", context).show();

View File

@ -279,7 +279,6 @@ define(function(require) {
that.initrdFilesTable.refreshResourceTableSelect();
$("#firmwareType", context).change(function() {
console.log($(this).val())
if (FIRMWARE_VALUES[$(this).val()]){
$("#firmwareSecure", context).show();
}