Revision fb7e2d64 snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js

b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js
754 754
                if (el.hasClass("disk_template")) { self.last_choice = ["disk_template", $(this).data("value")] }
755 755

  
756 756
                self.update_selected_from_ui();
757
            })
757
            });
758 758

  
759
            //this.$(".flavor-options li.disk_template.option").mouseover(function(){
760
                //$(this).parent().find(".description").hide();
761
                //$(this).find(".description").show();
762
            //}).mouseout(function(){
763
                //$(this).parent().find(".description").hide();
764
                //$(this).parent().find(".selected .description").show();
765
            //});
759
            $(".flavor-opts-list").each(function(){
760
              var el = $(this);
761
              if (el.find(".option").length > 6) {
762
                el.addClass("compact");
763
              }
764
            });
766 765
        },
767 766

  
768 767
        sort_flavors: function(els) {

Also available in: Unified diff