Friday, May 14, 2010

Reuse Django's filter_horizontal admin widget

3 comments:

  1. Hi thanks alot, this really helped me. I constructed my own add function "+" at the end of the input field. it opens a popup, and it works great. Thanks for sharing. I cant share my solution, cause its not clean code yet.

    Michael

    ReplyDelete
  2. Excellent, exactly what I needed, nothing more, nothing less!

    ReplyDelete
  3. Hi,

    Great simple solution but I'm getting the following javascript error on page load meaning I can't choose any options...

    node.tagName is undefined
    [Break on this error] if (node.tagName.toLowerCase() != 'form') {
    * SelectFilter2.js (line 11)

    The widget renders as expected. Any ideas what might be going wrong?

    Thanks

    Wes

    ReplyDelete