Permalink
Browse files

Call setError on the correct object

Thanks @bartvde for catching this.
  • Loading branch information...
1 parent 693fe6e commit 1f92e882cedc33e75d04bb144524cfb60be559c8 @ahocevar ahocevar committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/script/plugins/AddLayers.js
@@ -491,7 +491,7 @@ gxp.plugins.AddLayers = Ext.extend(gxp.plugins.Tool, {
newSourceDialog.hide();
},
fallback: function(source, msg) {
- this.setError(
+ newSourceDialog.setError(
new Ext.Template(this.addLayerSourceErrorText).apply({msg: msg})
);
},

0 comments on commit 1f92e88

Please sign in to comment.