oria / gridx

Just another powerful Dojo grid
Other
162 stars 78 forks source link

select/Row.js has non-relative path for dependency "query" #429

Open RSantosGIS opened 5 years ago

RSantosGIS commented 5 years ago

I am using gridx in a standalone widget and ran into an issue with the gridx/modules/select/Row.js module, which, when loaded, cannot resolve the path as stated. The path as written is: Line 8: 'gridx/support/query' this is fine if you control the web app config and can ensure resolution of "gridx" to the right resource path. However, in the case of a standalone widget you cannot be sure this is the case, and regardless this is inconsistent with the relative paths used to invoke gridx resources everywhere else in the library. Changing to this solves the problem: Line 8: '../../support/query'