asp.net mvc 4 - Magnific multiple popup strange behavior -
I have a menu where there are several links to the popup window with the form:
& lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "/ hour / app / edit / 15" & gt; Ð ÐμÐ'Ð ° Ð ÑÑÑÑ ?? ÑNÑ Ð¾Ð²Ð ° Ñ ?? Ñ ?? Ð ° нкÐμÑ ?? Ñ ?? & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "? / Hours / PlaceUserInJobPopup applicationId = 15" class = "magnific form" type = "inline" & gt; D ¢ Ñ ?? Ñ ?? Ð'оÑÑ ?? Ñ ?? Ñ ?? Ñ ?? Ð¾Ð¸Ñ ?? Ñ ?? & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "/ hour / refuseUserApplicationPopup applicationId = 15?" Class = "magnific form" & gt; D ?? Ñ ?? кР° Ð · Ð ° N ?? Ñ ?? & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "/ hour / RenunciateUserApplicationPopup applicationId = 15?" Class = "magnific form" & gt; D ?? Ñ ?? кР° Ð · Ð ° Ð »Ñ ?? Ñ ?? Ñ ?? Ð ° м & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; looks like my script for the popup:
$ (document) .ready (function () {$ ('Magnific-form' MagnificPopup ({type: 'ajax', closeOnContentClick: false, closeBtnInside: true, callback: {settings: null, parseAjax: function (mfpResponse) {console.log ('Ajax content loaded:', mfpResponse);} , AjaxContentAdded: function () {Console.log (this.content);}}}});)}; and inside the contentiously recognized form (they all look identical, not special):
& lt; Div class = "popup-content" & gt; & Lt; Form method = "post" id = "magnific-form" action = "/ hr / refuseUserApplicationPopup" & gt; & Lt; Div class = "section-headers" & gt; & Lt; Div class = "title" & gt; & Lt; H3 square = "cmbold black" & gt; Ð ?? Ñ ?? кР° Ð · Ð ° N ?? Ñ ?? кР° нÐ'иÐ'Ð ° N ?? Ñ ?? Ð ?? Ñ ?? Ñ ?? ÐÑÑ ?? кР° N ?? - DD ± Ð »Ð¾Ð½Ð¾Ð²ÐÑÑ ?? Ð ?? ннР° Ð ?? Ñ ?? ÐÑÑ ?? ÐÑÑ ?? овнР° в Ð'оР»Ð¶Ð½Ð¾Ñ ?? Ñ ?? D with d ?? Ð ° N ?? Ñ ?? DN ?? & Lt; / H3 & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Div class = "form-block" & gt; & Lt; Img src = "http: // localhost: 56804 / content / images / thumbs / 0000033_140.jpeg" title = 'de ?? Ñ ?? Ñ ?? ÐÑÑ ?? кР° N ?? - DD ± Ð »Ð¾Ð½Ð¾Ð²ÐÑÑ ?? Ð ?? ннР° Ð ?? Ñ ?? ÐÑÑ ?? ÐÑÑ ?? овнР° "alt = 'd ?? Ñ ?? Ñ ?? ¾ ÑÑÑ ?? кР° N ?? - DD ± л оновÐÑÑ ?? Ð ?? ннР° Ð ?? Ñ ?? оÑÑ ?? Ð¾Ñ ?? овнР° "class =" Very Hidden Round-boundary-green-14 "& gt; & Lt; Div class = "form-block-field" & gt; & Lt; Label title = "" for "comment" & gt; Ð ?? ± ?? ÐÑÑ Ð¸Ð½Ð ° & lt; / Labels & gt; & Lt; Text field rows = "2" name = "comment" id = "comment" data-val-required = 'd ?? вÐμÐ'Ð¸Ñ ?? Ðμ коммÐμÐ½Ñ ?? Ð ° N ?? ий "data-val =" true "cols =" 20 ">
Comments
Post a Comment