Commits

Mark Lavin  committed 9aa9a58

Adding ui-classes to selectable widgets.

  • Participants
  • Parent commits 45cd0e9

Comments (0)

Files changed (1)

File selectable/static/js/jquery.dj.selectable.js

                             }
                         }
                     }
-                });
+                }).addClass("ui-widget ui-widget-content ui-corner-all");
                 if (type === 'combobox') {
                     // Change auto-complete options
                     $(input).autocomplete("option", {
                         delay: 0,
                         minLength: 0
-                    });
+                    })
+                    .removeClass("ui-corner-all")
+                    .addClass("ui-corner-left ui-combo-input");
 
                     $("<button>&nbsp;</button>").attr("tabIndex", -1).attr("title", "Show All Items")
                     .insertAfter($(input))
                         },
                         text: false
                     })
+                    .removeClass("ui-corner-all")
+			        .addClass("ui-corner-right ui-button-icon ui-combo-button")
                     .click(function() {
                         // close if already visible
                         if ($(input).autocomplete("widget").is(":visible")) {