I am adding the Simple dialog class to node edit links in a view. The View is Ajax enabled... when Simple Dialog opens the form items get duplicated and when you close the dialog, the filters on the view no longer work (due to duplicated form items).

My intranet site is very large a has many, many modules. Is there any hints to where I should be looking to see what is causing this?

Comments

dustin@pi’s picture

Status: Active » Closed (works as designed)

Found the issue ... as I suspected the root issues wasn't related to Simple Dialog ... even though Simple Dialog was causing it to happen.

The root issue was that my theme (commons_origins) was calling the jquery.selectBox plugin on Ajax load so it was being duplicated every time Simple Dialog was called.

We added a simple :not(.selectBox) to the jquery selector and then the "selectBox" plugin wouldn't be run on already processed form controls.

Thanks!

drclaw’s picture

No, thank YOU!