Handle the cases where URL is too long

This commit is contained in:
Madhura Jayaratne 2011-07-28 11:44:18 +05:30
parent 003496969e
commit 01976f1663

View File

@ -293,6 +293,8 @@ function initGISEditorVisualization() {
* Restart insertion with 'N' rows.
*/
$(document).ready(function() {
// Remove the class that is added due to the URL being too long.
$('.open_gis_editor a').removeClass('formLinkSubmit');
$('.open_gis_editor').live('click', function(event) {
event.preventDefault();