mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
CommitView: Allow multiple selection
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
var showMultipleFilesSelection = function(files)
|
||||
{
|
||||
|
||||
$("title").innerHTML = "Multiple selection";
|
||||
|
||||
var div = $("diff");
|
||||
|
||||
var contents = "<h3>Multiple Selection:</h3>";
|
||||
contents += "<ul>";
|
||||
|
||||
for (var i = 0; i < files.length; ++i)
|
||||
{
|
||||
var file = files[i];
|
||||
contents += "<li>" + file.path + "</li>";
|
||||
}
|
||||
contents += "</ul>";
|
||||
|
||||
div.innerHTML = contents;
|
||||
}
|
||||
Reference in New Issue
Block a user