-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second modal does not work as expected #26
Comments
Update to the latest v3 code. I recently added Dialog_ButtonEvent to the qcubed.inc.php file. |
Yes, it works now. Thanks! Little concern that the button "Watch Out" does not work as expected. I added screenhots: Any thoughts? EDIT: I shall make clear here. This line
does not work as expected |
A big step forward! As you can see screenshots of the small obstacle must be overcome. I studied a little bit and I think that before the event to confirm whether the first active modal remove or hide or close. I think about it, but can not think of (qc.bs.modal.js lines 196-215)... _buttonClick: function(event) {
var objButton = event.data;
var self = objButton.instance;
if (objButton.confirm) { //This place should tell him that before the other active modal to clean up!
self.confirm(objButton.confirm, function () {
self._recordButtonClick(event);
});
} else {
self._recordButtonClick(event);
}
},
_recordButtonClick: function(event) {
var objButton = event.data;
var self = objButton.instance;
var controlId = self.element.attr('id');
qcubed.recordControlModification(controlId, "_ClickedButton", objButton.id);
self.element.trigger("QDialog_Button", objButton.id);
}, @spekary, I think you can understand it quickly... |
@spekary! Specifier question - whether the last screenshot is normal and corresponds to you idea? |
To me this error displayed:
@spekary, any thoughts?
The text was updated successfully, but these errors were encountered: