|
|
@ -132,6 +132,18 @@ var TwisterOptions = function() |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getShowPreviewOpt = function() { |
|
|
|
|
|
|
|
return $.Options.getOption('displayPreview',"disable"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.setShowPreviewOpt = function () { |
|
|
|
|
|
|
|
$('#showPreviewOpt select')[0].value = this.getShowPreviewOpt(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#showPreviewOpt select').on('change', function(){ |
|
|
|
|
|
|
|
$.Options.setOption(this.id, this.value); |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.InitOptions = function() { |
|
|
|
this.InitOptions = function() { |
|
|
|
this.soundNotifOptions(); |
|
|
|
this.soundNotifOptions(); |
|
|
|
this.volumeControl(); |
|
|
|
this.volumeControl(); |
|
|
@ -139,6 +151,7 @@ var TwisterOptions = function() |
|
|
|
this.setLang(); |
|
|
|
this.setLang(); |
|
|
|
this.setTheme(); |
|
|
|
this.setTheme(); |
|
|
|
this.setLineFeedsOpt(); |
|
|
|
this.setLineFeedsOpt(); |
|
|
|
|
|
|
|
this.setShowPreviewOpt(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|