Issue 104: Manual AJAX will not send ajax data
Status:  Fixed
Owner: ----
Closed:  Oct 2008
Reported by syl...@gmail.com, Oct 29, 2008
What steps will reproduce the problem?
1. create a button with onclick event: onclick=\"$.nyroModalManual({ url:
'company_ajax.php', type: 'ajax', ajax: {type:'post', data:
'op=print&class=szerz&c_id=1'}, debug: true });
2. in 'company_ajax.php' be print_r($_POST);
3. push the button, and voila, POST is empty

What is the expected output? What do you see instead?
$_POST should not be empty, if ajax.type is 'post'


What version of the product are you using? On what operating system?
jquery-1.2-1, nyroModal-1.3.0

Please provide any additional information below.
Fixed it temporarily with changing "data: currentSettings.ajax.data," on
line 425 (function processModal).


ENHANCEMENT: I've changed the debug function, please see attached file ( +1
new global variable: debugMsg). With this method, the debug messages will
not be 'lost', if the modal window is not visible.

jquery.nyroModal-1.3.0.viper.js
41.3 KB   View   Download
Oct 29, 2008
Project Member #1 nyro...@gmail.com
Thanks syl33r for your bug report.
It's now fixed on my own dev js, and it'll be released soon.

regarding the debugging function you'll be able to overwrite it in the next release
with the nyroModal Settings like a basic callback.
Status: Fixed
Labels: Type-Defect
Nov 29, 2008
Project Member #2 nyro...@gmail.com
The version 1.3.1 is now released with this bug fix and debug function that you could
overwrite