I would like to have each page/module in my application be able to set the modal size used by the modal manager. Currently as a temporary solution I have modified the Modal manager code to use modal-full. I need this for some of my modules where there is quite a large form with lots of data being collected. There are other modules where the form is smaller and does not require the larger modal. So I would like to be able to change this dynamically.
How can I pass the modal class as a parameter to the modal manager? The line shown in red box below is what I am looking to modify/pass in as parameter. [attachment=0:o5dbo9ht]Screenshot (54).png[/attachment:o5dbo9ht]
1 Answer(s)
-
0
Hi,
Currently there is no option for that. You can use modalManager's getModal method and add the required class using jquery to div with class modal-dialog.