Skip to content

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Gooong committed Jul 25, 2018
1 parent 0e14a2f commit 1850e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pgadmin/tools/sqleditor/static/js/sqleditor.js
Expand Up @@ -729,9 +729,9 @@ define('tools.querytool', [
// We do not support editing binary data in SQL editor and data grid.
options['formatter'] = Slick.Formatters.Binary;
} else if (c.cell == 'geometry' || c.cell == 'geography' ){
//options['formatter'] = GeometryViewer.geo_formatter;
options['editor'] = is_editable ? Slick.Editors.pgText :
Slick.Editors.ReadOnlypgText;
// EWKB formatter for viewing geometry data.
options['formatter'] = Slick.Formatters.EWKB;
}
else {
Expand Down

0 comments on commit 1850e92

Please sign in to comment.