Commits

Christoffer Niska  committed 919e2d4

Updated the test page.

  • Participants
  • Parent commits 463f528
  • Branches nativejs

Comments (0)

Files changed (1)

File demo/protected/views/site/index.php

 
 			<?php $this->beginWidget('bootstrap.widgets.BootModal', array(
 				'id'=>'modal',
+				'htmlOptions'=>array('class'=>'hide'),
 				'events'=>array(
 					'show'=>"js:function() { console.log('modal show.'); }",
 					'shown'=>"js:function() { console.log('modal shown.'); }",
 					'hide'=>"js:function() { console.log('modal hide.'); }",
 					'hidden'=>"js:function() { console.log('modal hidden.'); }",
 				),
-				'htmlOptions'=>array('class'=>'modal hide fade'),
 			)); ?>
 
 			<div class="modal-header">
 [php]
 <?php \$this->beginWidget('bootstrap.widgets.BootModal', array(
 	'id'=>'modal',
+	'htmlOptions'=>array('class'=>'hide'),
 	'events'=>array(
 		'show'=>\"js:function() { console.log('modal show.'); }\",
 		'shown'=>\"js:function() { console.log('modal shown.'); }\",
 		'hide'=>\"js:function() { console.log('modal hide.'); }\",
 		'hidden'=>\"js:function() { console.log('modal hidden.'); }\",
 	),
-	'htmlOptions'=>array('class'=>'hide fade'),
 )); ?>
 ~~~
 ~~~