Hello,
I am currently experiencing a problem with the animation of a modal window.
This is the window
the pub.remove is called when i want to delete an item
and the pub.remove_cancel is called when we cancel the remove
the remove_cancel is actualy behaving correctly the problem lies with the Close button in the top-right corner
When i press the Close button the window closes correctly with the correct animation but when i then open the window again with the pub.remove function the start gray-out animation doesn't display.
I am currently experiencing a problem with the animation of a modal window.
<div id="remove-window" class="window"> <p>Wilt u het geselecteerde item verwijderen?</p> <button onclick="bsv.edf.web.client.grid.remove_confirm('/Service/PersonService.svc/json/Delete',bsv.edf.web.client.grid.removed)" class="k-button">Ja</button> <button onclick="bsv.edf.web.client.grid.remove_cancel()" class="k-button">Nee</button></div>// user wants to remove a select itempub.remove = function () { var Object = bsv.edf.web.client.grid.getSelectedItem(); if (Object != null) { $("#remove-window").kendoWindow({ resizable: false, title: "Item verwijderen", modal: true, actions: ["Close"] }); var window = $("#remove-window").data("kendoWindow"); window.center(); window.open(); }};// user wants to cancel the removepub.remove_cancel = function () { var window = $("#remove-window").data("kendoWindow"); window.close();};and the pub.remove_cancel is called when we cancel the remove
the remove_cancel is actualy behaving correctly the problem lies with the Close button in the top-right corner
When i press the Close button the window closes correctly with the correct animation but when i then open the window again with the pub.remove function the start gray-out animation doesn't display.