Reputation: 899
Does anyone know if the zii.widgets.jui.cjuidialog (its a dialogbox) so does it have an option that is fixing its position, so it cant be moved, i know u can make the size fixed. But i dont like the fact that i can be moved. Any one got an idea?
Upvotes: 1
Views: 1449
Reputation: 3198
CJuiDialog can have any options of jQuery UI Dialog. So, I think in your case you need to declare draggable
option as false
.
$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
'id'=>'mydialog',
'options'=>array(
/* Other jQuery dialog options */
'draggable' => false,
),
));
Upvotes: 2