Remove inline javascript from user views
This commit is contained in:
parent
57443546f8
commit
d13348c0ea
6 changed files with 37 additions and 27 deletions
|
@ -38,6 +38,8 @@ OSM = {
|
|||
OPEN_NOTE_MARKER: <%= image_path("open_note_marker.png").to_json %>,
|
||||
CLOSED_NOTE_MARKER: <%= image_path("closed_note_marker.png").to_json %>,
|
||||
|
||||
SEARCHING: <%= image_path("searching.gif").to_json %>,
|
||||
|
||||
apiUrl: function (object) {
|
||||
var url = "/api/" + OSM.API_VERSION + "/" + object.type + "/" + object.id;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue