fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
canvas manager wip - setting cursor at the beginning of a new node
[fnpeditor.git]
/
modules
/
diffViewer
/
diffViewer.js
diff --git
a/modules/diffViewer/diffViewer.js
b/modules/diffViewer/diffViewer.js
index
254a19a
..
ba88a48
100644
(file)
--- a/
modules/diffViewer/diffViewer.js
+++ b/
modules/diffViewer/diffViewer.js
@@
-27,7
+27,9
@@
return function(sandbox) {
setDiff: function(diff) {
\r
var diffView = new DiffView();
\r
diffView.setTable(diff.table);
\r
setDiff: function(diff) {
\r
var diffView = new DiffView();
\r
diffView.setTable(diff.table);
\r
- tabsView.addTab(diff.ver1 + '->' + diff.ver2, diff.ver1 + '-' + diff.ver2, diffView.dom);
\r
+ var slug = diff.ver1 + '-' + diff.ver2;
\r
+ tabsView.addTab(diff.ver1 + '->' + diff.ver2, slug, diffView.dom);
\r
+ tabsView.selectTab(slug);
\r
}
\r
};
\r
};
\r
}
\r
};
\r
};
\r