History

Fix loading entries with #fragment path from IndexedDB

Thibaut committed 11 years ago

Commit 9b1d7041 parent 2eede982 files · +4 −1Browse files

Showing the changes to assets/javascripts/models (1 of 2 files). Show all

Unified · Split

assets/javascripts/models/entry.coffee+3−0
@@ -23,6 +23,9 @@ class app.models.Entry extends app.Model · 22 unmodified lines
2323 fullPath: ->
2424 @doc.fullPath if @isIndex() then '' else @path
2525
26+ dbPath: ->
27+ @path.replace /#.*/, ''
28+
2629 filePath: ->
2730 @doc.fullPath @_filePath()
2831

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t