Skip to content

Commit

Permalink
this is not -not- incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Tilley committed Mar 6, 2009
1 parent 5b25b20 commit dc00e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dojo_helpers/dijit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def dijit_content(content_or_html_options_with_block = nil, html_options_or_opti
'refreshOnShow' => false
})

unless not options['dojox_content_pane']
unless options['dojox_content_pane'] == false
html_options['dojoType'] = 'dojox.layout.ContentPane'
html_options.reverse_merge!({
'adjustPaths' => false,
'cleanContent' => false,
'cleanContent' => true,
'renderStyles' => true,
'executeScripts' => true
})
Expand Down

0 comments on commit dc00e19

Please sign in to comment.