A lot of variables/settings are explicitly double quoted, ex:

    '#options' => array(
      "'true'" => 'Yes',
      "'false'" => 'No',
    ),

I realize that for string values this might have been necessary in order to pass the settings as a string to snowstorm.js but it fudges boolean values.

Also, the best approach would just be to store the values "normally" and then add the quotes manually when writing the settings in js.

Comments

TobiasFPetersen’s picture

Issue summary: View changes
StatusFileSize
new2.41 KB

Made a small patch that makes booleans work for snowstorm.js
It is unable to work with booleans as strings , gives unintended behaviour.

introfini’s picture

Status: Active » Closed (won't fix)

I've update the modules page project with this information: This module has been deprecated in favor of this one: Happy New Year!