Thanks for the patch, I will add it to the main code soon, armin
-------- [pmapper-users] Bug searchForm fix.. > Hi all, Hi Armin > > when we use search form with dynwin or frame info appear solution, we > obtain a bad effect > the loading of blank.html page in another windows... > > searching on the web i find this: > > http://www.arraystudio.com/as-workshop/disable-form-submit-on-enter-keypress.html > > and I fix the bug in this manner > > in /config/default/custom.js i put this > > function disableEnterKey(e) > { > var key; > > if(window.event) > key = window.event.keyCode; //IE > else > key = e.which; //firefox > > if(key == 13){ > submitSearch(); > return false; > }else{ > return true; > } > } > > and in map.phtml I add this in form formSearch: > > onkeypress="return disableEnterKey(event)" > > > I hope this can help > > Bye > Walter > > > > > > -- > Please no .doc, .xls, .ppt, .dwg: > https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats > > Walter Lorenzetti > email+jabber: [EMAIL PROTECTED] > www.faunalia.it > Cell: (+39) 347-6597931 Tel+Fax: (+39) 0587-213742 > Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy > -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
