We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error when removing appointment

Thread ID:





133052 Oct 6,2017 01:04 AM UTC Oct 6,2017 11:54 AM UTC JavaScript 1
Tags: ejSchedule
Tomaz Smid
Asked On October 6, 2017 01:04 AM UTC

I get error when I remove appointment from schedule.  

Uncaught TypeError: Cannot read property 'ejDialog' of null
    at Object._alertClose (ej.web.all.min.js:10)
    at Object.f (jquery-2.1.4.min.js:2)
    at Object._trigger (ej.web.all.min.js:10)
    at HTMLDivElement.<anonymous> (ej.web.all.min.js:10)
    at HTMLDivElement.d.complete (jquery-2.1.4.min.js:3)
    at j (jquery-2.1.4.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-2.1.4.min.js:2)
    at i (jquery-2.1.4.min.js:3)
    at n.fx.tick (jquery-2.1.4.min.js:3)

After this the dialog seems to still be there, but invisible. You can not click on the schedule because the dialog is in the way.  

If I change ej.web.all.min  to check if the dialog exists first then this problem does not happen:

_alertClose:function(t){ if(!this._alertWindow){return;}this._alertWindow.ejDialog("close");

I'm not sure, but I think the dialog opens late, after the attempt to close it, then later it closes anyway.

Nevitha Ravi [Syncfusion]
Replied On October 6, 2017 11:54 AM UTC

Hi Tomaz, 

Thank you for contacting Syncfusion Support. 

We were unable to reproduce the reported issue “script error throws when deleting the appointment” at our end and for the same we have prepared the sample for your reference which can be viewed from the below location. 

Kindly check the above sample, if the issue persist still try to reproduce it in a sample or else share your code snippet/runnable sample(if possible) to proceed further on this. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon