Permalink
Browse files

don't call the updateData function if it does not exist

  • Loading branch information...
1 parent 481cc7d commit 60828dfba213b5d7b8b15f688e850f76de6ef550 Simon Kohlmeyer committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 phprojekt/application/Default/Views/dojo/scripts/Main.js
@@ -1194,7 +1194,7 @@ dojo.declare("phpr.Default.Main", phpr.Default.System.Component, {
updateCacheData: function() {
// Summary:
// Forces every widget of the page to update its data, by deleting its cache.
- if (this.grid) {
+ if (this.grid && this.grid.updateData) {
this.grid.updateData();
}
if (this.form) {

0 comments on commit 60828df

Please sign in to comment.