]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/templates/notes/new.jst.ejs
Need to preventDefault on href='#' links
[rails.git] / app / assets / javascripts / templates / notes / new.jst.ejs
index a4ea5079ae31dc908ed3faf3b1e11fa20b5cf8a0..003971088cd37a626b20da30e05387f96522756f 100644 (file)
@@ -6,7 +6,7 @@
     <textarea class="comment" name="text" cols="40" rows="10"></textarea>
     <br/>
     <div class="buttons clearfix">
-      <input type="submit" name="add" value="<%- I18n.t('javascripts.notes.new.add') %>" data-url="<%- create_url %>" disabled="1">
+      <input type="submit" name="add" value="<%- I18n.t('javascripts.notes.new.add') %>" disabled="1">
     </div>
   </form>
 </div>