diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-10-01 17:04:20 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-10-01 17:04:20 -0400 |
| commit | 579eae7a849ed673ce0e929d89569c918ee28461 (patch) | |
| tree | 13dcd4f89bfc04f10757518405b6f2cf48be7b33 /public | |
| parent | ad47446b0e0367734239bcdce930597e28e1042b (diff) | |
hide help button, remove confirm dialog before deleting somethin
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/javascripts/ui/editor/MediaEditor.js | 12 | ||||
| -rwxr-xr-x | public/assets/stylesheets/app.css | 6 |
2 files changed, 12 insertions, 6 deletions
diff --git a/public/assets/javascripts/ui/editor/MediaEditor.js b/public/assets/javascripts/ui/editor/MediaEditor.js index 59fdc70..e4f93df 100644 --- a/public/assets/javascripts/ui/editor/MediaEditor.js +++ b/public/assets/javascripts/ui/editor/MediaEditor.js @@ -177,12 +177,12 @@ var MediaEditor = FormView.extend({ }, destroy: function(){ - ConfirmModal.confirm("Are you sure you want delete this object?", function(){ - var scenery = this.scenery - this.hide() - Scenery.remove(scenery.id) - Scenery.resize.hide() - }.bind(this)) +// ConfirmModal.confirm("Are you sure you want delete this object?", function(){ +// }.bind(this)) + var scenery = this.scenery + this.hide() + Scenery.remove(scenery.id) + Scenery.resize.hide() }, }) diff --git a/public/assets/stylesheets/app.css b/public/assets/stylesheets/app.css index 5e1ccc1..e54b5c0 100755 --- a/public/assets/stylesheets/app.css +++ b/public/assets/stylesheets/app.css @@ -65,6 +65,12 @@ a{ left: 0; z-index: 6; } +#help-button { + display: none; +} +.editing #help-button { + display: inline; +} .topLinks a.icon-help-circled { font-size: 24px; padding: 21px 27px 0 8px; |
