mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-17 16:45:21 +00:00
conflict resolved ing
This commit is contained in:
@@ -1646,6 +1646,11 @@ Note.star = function(noteId) {
|
||||
});
|
||||
};
|
||||
|
||||
// 显示
|
||||
Note.showConflictInfo = function(noteId, e) {
|
||||
ContextTips.show('#conflictTips', e);
|
||||
};
|
||||
|
||||
// 内容已同步成功
|
||||
Note.contentSynced = function(noteId, content) {
|
||||
var me = this;
|
||||
@@ -2106,7 +2111,7 @@ $(function() {
|
||||
}
|
||||
});
|
||||
$("#noteItemList").on("click", ".item", function(event) {
|
||||
event.stopPropagation();
|
||||
// event.stopPropagation();
|
||||
var noteId = $(this).attr("noteId");
|
||||
|
||||
// 手机端处理
|
||||
@@ -2232,6 +2237,12 @@ $(function() {
|
||||
Note.renderStarNote($li);
|
||||
});
|
||||
|
||||
$("#noteItemList").on("click", ".item-my .item-conflict-info", function(e) {
|
||||
var $li = $(this).closest('li');
|
||||
var noteId = $li.attr('noteId');
|
||||
Note.showConflictInfo(noteId, e);
|
||||
});
|
||||
|
||||
// sync
|
||||
Note._syncRefreshE.click(function() {
|
||||
Note.sync();
|
||||
|
Reference in New Issue
Block a user