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

Bug #547: Remove commented code chunk

This commit is contained in:
Hector Sanjuan 2011-04-01 04:28:09 +02:00 committed by Jaime Melis
parent 9607859909
commit c86f481032

View File

@ -1457,12 +1457,7 @@ function setupCreateVMDialog(){
//TODO: Improve this check
var nicFilter = function(){
return mandatory_filter(section_networks);
//~ var network = $('select#NETWORK :selected',section_networks).attr('id');
//~ var ip = $('#IP',section_networks).val();
//~ var mac = $('#MAC',section_networks).val();
//~
//~ return (network != "no_network" || ip.length || mac.length);
};
};
$('#add_nic_button',section_networks).click(function(){
box_add_element(section_networks,'#nics_box',nicFilter);