Skip to content

Commit

Permalink
edit single file data by clicking title
Browse files Browse the repository at this point in the history
  • Loading branch information
wellingguzman committed Sep 1, 2016
1 parent b1d1714 commit 50843ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/uis/single_file.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ define([
{{/if}} \
</div> \
<div class="ui-img-details single_file"> \
<a href="{{link}}" class="title" target="single_file" title="{{fileModel.title}}">{{fileModel.title}}</a> \
<a href="#" class="title" title="{{fileModel.title}}">{{fileModel.title}}</a> \
<!--Uploaded by {{userName fileModel.user}} {{contextualDate fileModel.date_uploaded}}<br> --> \
<i>{{#if isImage}}{{fileModel.width}} &times; {{fileModel.height}} –{{/if}} {{fileModel.size}} - {{fileModel.type}}</i><br> \
<button class="btn btn-primary" data-action="remove-single-file" type="button">{{t "remove_file"}}</button> \
Expand All @@ -164,7 +164,7 @@ define([
events: {
'click button[data-action="remove-single-file"]': 'removeFile',
'click button[data-action="choose"]': 'choose',
'click .has-file': 'edit',
'click .ui-img-details .title': 'edit',
'click .choose-method-btn': function() {
this.$el.find('.choose-method').toggleClass('hide');

Expand Down

0 comments on commit 50843ae

Please sign in to comment.