Yii:: Jquery Dialog and Tab Conflict

Posted: April 15, 2011 in Php, Yii Framework

If you’ve dialog box and tab in one page… let say you have multiple form in your tab, and dialog box outside the tab..
When you click a link to open the dialog box from your form, the dialog box didn’t appear.
My solution, just add this piece of code at the top of your form inside the tab.
<?php
Yii::app()->clientScript->scriptMap=array(
         //scripts that you don’t need inside this view
        ‘jquery.js’=>false,
);
?>

Comments
  1. Radamés says:

    i guess, it’s not work … desable the jquery …
    so,
    i have a probleme like this ….

    a create a ajaxsubmitbutton and when a click … it’s generate a grid … but the Dialog not works anymore …

    (i am from brasil)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s