Kendo is throwing error when trying to delete. It shows confirmation box after OK then it deletes the row, but doesn't call destroy in transport to call Api service.
kendo.all.min.js:52 Uncaught TypeError: Cannot convert undefined or null to object
at init._removeRow (kendo.all.min.js:52)
at init.removeRow (kendo.all.min.js:52)
at HTMLAnchorElement.<anonymous> (kendo.all.min.js:51)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.r.handle (jquery.min.js:3)
_removeRow # kendo.all.min.js:52
removeRow # kendo.all.min.js:`enter code here`52
(anonymous) # kendo.all.min.js:51
dispatch # jquery.min.js:3
r.handle # jquery.min.js:3
I got the solution, persistSelection was true. I deleted it. now its working !!
Related
I'm getting the following 2 errors with my React Native project, using Expo in the Simulator.
Can anyone shed any light on what I should be looking to fix? I've seen a couple of people with similar 'undefined' issues but I was unable to a gain a solution from them. I'm not even sure which file I should be looking at! ExceptionsManager.js is a file inside 'node_modules/react-native' so does that mean anything? Any ideas?
Many thanks.
Cannot read property 'func' of undefined - ExceptionsManager.js:65
handleException # ExceptionsManager.js:65
handleError # InitializeCore.js:106
reportFatalError # error-guard.js:46
guardedLoadModule # require.js:133
_require # require.js:118
(anonymous) # config.json:1
executeApplicationScript # debuggerWorker.js:40
(anonymous) # debuggerWorker.js:65
Module AppRegistry is not a registered callable module (calling runApplication) - ExceptionsManager.js:65
handleException # ExceptionsManager.js:65
handleError # InitializeCore.js:106
reportFatalError # error-guard.js:46
__guard # MessageQueue.js:267
callFunctionReturnFlushedQueue # MessageQueue.js:115
(anonymous) # debuggerWorker.js:72
I am facing a problem with this link below which I want to use in my code,Its working fine but I am getting one error whenever I click on add fields button.
http://www.shanidkv.com/blog/angularjs-adding-form-fields-dynamically
The Error is as follows,
angular.js:11607 TypeError: fn is not a function
at $parseFunctionCall (angular.js:12346)
at callback (angular.js:21435)
at Scope.$eval (angular.js:14401)
at Scope.$apply (angular.js:14500)
at HTMLFormElement.<anonymous> (angular.js:21440)
at HTMLFormElement.dispatch (jquery-1.9.1.min.js:3)
at HTMLFormElement.v.handle (jquery-1.9.1.min.js:3)
app.js
service.js
When I run localhost in console I have error
bundle.js:7541 Uncaught TypeError: Cannot read property 'currentUser'
of undefined(anonymous function) # bundle.js:7541invoke #
bundle.js:12268(anonymous function) # bundle.js:12076forEach #
bundle.js:7880createInjector # bundle.js:12076doBootstrap #
bundle.js:9310bootstrap # bundle.js:9331angularInit #
bundle.js:9216(anonymous function) # bundle.js:39027j #
jquery.js:3047fireWith # jquery.js:3159ready # jquery.js:3365I #
jquery.js:3380
Please help (I think I forgot something)
Inside app.js you have $window.localStorage.currentUser.
$window.localStorage is undefined and so you get the error that can't find currentUser of undefined.
change to: if ($window.localStorage && $window.localStorage.currentUser)
I get this error whenever I load the page I am building. Everything worked fine until I copied the angular-ui-bootstrap js file. I have not changed anything from the file.
angular.module('ui.bootstrap.datepicker').run(function() {
!angular.$$csp().noInlineStyle && angular.element(document).find('head').prepend('<style type="text/css">.uib- datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-datepicker-popup.dropdown-menu{display:block;}.uib-button-bar{padding:10px 9px 2px;}</style>');});
This is the portion of code where it has a missing } but that is not the case as I can see. I am running AngularJS 1.4.9 and Bootstrap 3.3.2.
Any ideas?
update: When I change to Angular 1.4.0 I get
$q.resolve is not a function error
full error
TypeError: $q.resolve is not a function
at http://localhost:8080/build/js/all-136a0f7ece.js:46792:32
at Object.forEach (http://localhost:8080/build/js/all-136a0f7ece.js:350:20)
at Object.resolve (http://localhost:8080/build/js/all-136a0f7ece.js:46790:19)
at Object.$modal.open (http://localhost:8080/build/js/all-136a0f7ece.js:47357:69)
at Scope.$scope.open (http://localhost:8080/build/js/all-136a0f7ece.js:46443:35)
at fn (eval at <anonymous> (http://localhost:8080/build/js/all-136a0f7ece.js:13036:15), <anonymous>:4:203)
at callback (http://localhost:8080/build/js/all-136a0f7ece.js:23090:17)
at Scope.$eval (http://localhost:8080/build/js/all-136a0f7ece.js:15719:28)
at Scope.$apply (http://localhost:8080/build/js/all-136a0f7ece.js:15818:23)
at HTMLAnchorElement.<anonymous> (http://localhost:8080/build/js/all-136a0f7ece.js:23095:23)
Hi I was working on angular app after few changes I am getting an error which I am not sure why it's coming.
error : TypeError: a is not a function
at angular.min.js:70
at m.promise.then.u (angular.min.js:97)
at m.promise.then.u (angular.min.js:97)
at angular.min.js:98
at h.$get.h.$eval (angular.min.js:108)
at h.$get.h.$digest (angular.min.js:106)
at h.$get.h.$apply (angular.min.js:109)
at f (angular.min.js:71)
at F (angular.min.js:75)
at XMLHttpRequest.x.onreadystatechange (angular.min.js:76)(anonymous function) # angular.min.js:89$get # angular.min.js:66m.promise.then.u # angular.min.js:97m.promise.then.u # angular.min.js:97(anonymous function) # angular.min.js:98$get.h.$eval # angular.min.js:108$get.h.$digest # angular.min.js:106$get.h.$apply # angular.min.js:109f # angular.min.js:71F # angular.min.js:75x.onreadystatechange # angular.min.js:76XMLHttpRequest.send (async)b # angular.min.js:77z # angular.min.js:72$get.f # angular.min.js:70m.promise.then.u # angular.min.js:97m.promise.then.u # angular.min.js:97(anonymous function) # angular.min.js:98$get.h.$eval # angular.min.js:108$get.h.$digest # angular.min.js:106$get.h.$apply # angular.min.js:109(anonymous function) # angular.min.js:18d # angular.min.js:34c # angular.min.js:17$b # angular.min.js:18Wc # angular.min.js:17(anonymous function) # angular.min.js:209v.Callbacks.l # jquery.min.js:2v.Callbacks.c.fireWith # jquery.min.js:2v.extend.ready # jquery.min.js:2A # jquery.min.js:2
I am not sure why this is coming and I am getting such 15 errors. It is not breaking my app but I am seeing this on chrome console.
I have changed from min.js to .js got this error :
TypeError: fn is not a function at angular.js:7946
at wrappedCallback (angular.js:11319)
at wrappedCallback (angular.js:11319)
at angular.js:11405
at Scope.$eval (angular.js:12412)
at Scope.$digest (angular.js:12224)
at Scope.$apply (angular.js:12516)
at done (angular.js:8204)
at completeRequest (angular.js:8412)
at XMLHttpRequest.xhr.onreadystatechange (angular.js:8351)(anonymous function) # angular.js:9778
As you cant place code in plunker I can only guess.
Are you passing any parameter to callback function? Usually it happens when you pass something like
.success($scope.message = "Task completed")
to in-build angular functions. In above case when the Ajax call completes, it is being invoked as a function, thus causing the error. It should have been as
.success(function () {
$scope.message = "Task completed";
})
In your case you may be assigning "a" to some variable.