yocontra / smog

HTML5/Node/WebSocket MongoDB panel
MIT License
443 stars 42 forks source link

Edit and delete document buttons don't work #13

Open SeanBannister opened 12 years ago

SeanBannister commented 12 years ago

As I mentioned in another issue I use custom IDs on some of my documents, I've just noticed that the edit and delete button doesn't work on any document with a custom ID.

yocontra commented 12 years ago

Is the ID still an instance of ObjectID or just a string?

SeanBannister commented 12 years ago

its a string.

yocontra commented 12 years ago

Can you see if it works in the latest branch now?

SeanBannister commented 12 years ago

The Edit button goes to the edit page but the textarea is blank. The delete button displays the " Error deleting document: Delete failed" at the bottom of the screen but when I refresh the delete actually worked.