diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/mods/mod_export/profil.phtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml index c07daed..32ecc0c 100644 --- a/views/mods/mod_export/profil.phtml +++ b/views/mods/mod_export/profil.phtml @@ -134,11 +134,15 @@ <script type="text/javascript">
jQuery('#wpsg_mod_export_iso').bind('change', function() {
+
+ var ckbVal = '0';
+ if (jQuery('#wpsg_mod_export_onetime').prop('checked') == true) ckbVal = '1';
+
jQuery.ajax( {
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=inlinedit&noheader=1',
data: {
field: 'iso',
- value: jQuery('#wpsg_mod_export_iso').val(),
+ value: ckbVal,
profil_id: '<?php echo $this->view['profil']['id']; ?>'
}
} );
|
