Skip to content

Commit 9bdc3db

Browse files
committed
fixed dropedown add group menu issue
1 parent e4def0d commit 9bdc3db

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20160120123957
2+
# Build: 20160120022147
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg

‎index.html‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎static/app/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ <h5>Add GitHub accounts to organize your stars and repositories</h5>
188188
</article>
189189
</script>
190190
<script type="text/html" data-template="groupItem">
191-
<div class="dropdown-item" data-id="{id}">
191+
<div class="dropdown-item add-repo" data-id="{id}">
192192
{name}
193193
</div>
194194
</script>
@@ -210,7 +210,7 @@ <h5>Add GitHub accounts to organize your stars and repositories</h5>
210210
<div class="dropdown-item text-primary add-group">
211211
<i class="fa fa-plus-circle"></i> Add new group
212212
</div>
213-
<div class="dropdown-item text-danger" data-id="0">
213+
<div class="dropdown-item text-danger add-repo" data-id="0">
214214
<i class="fa fa-times-circle"></i> Remove from group
215215
</div>
216216
</div>

‎static/app/src/App.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ $(function () {
917917
els.bookmarkModalContent.on('click', '.repo-group-item>.hd .ctrl .edit', function(){
918918
showBookmarkGroupModal(this.dataset.id,this.dataset.name);
919919
});
920-
els.bookmarkModalContent.on('click', '.dropdown-item', beforeAddRepoToGroup);
920+
els.bookmarkModalContent.on('click', '.dropdown-item.add-repo', beforeAddRepoToGroup);
921921
els.bookmarkModalContent.on('keyup','.repo-group-item>.hd .search input',renderBookmarkSearchRepos);
922922
els.bookmarkModalContent.on('click','.repo-group-item>.hd .search submit',renderBookmarkSearchRepos);
923923
els.bookmarkUserModalUserList.on('click', '.sync', function () {

0 commit comments

Comments
 (0)