compute.js-issue1750.patch

Nicolas AGIUS, 01/31/2013 04:40 PM

Download (774 Bytes)

View differences:

compute.js 2013-01-31 16:17:00.760298984 +0100
948 948
                var value = $(this).val();
949 949
                vm["DISK"].push('<STORAGE href="'+href+'/storage/'+value+'" />');
950 950
            });
951
        } else {
952
            notifyError("Please select a least one disk");
953
            return false;
951 954
        };
952 955

  
953 956
        var nets = $('#network_box option[clicked="clicked"]', dialog);
......
959 962
                var value = $(this).val();
960 963
                vm["NIC"].push('<NETWORK href="'+href+'/network/'+value+'" />');
961 964
            });
965
        } else {
966
            notifyError("Please select a least one nic");
967
            return false;
962 968
        };
963 969

  
964 970
        if (n_times.length){