[update] Show difference between versions + [update] button
This commit is contained in:
@@ -29,6 +29,18 @@ application.controller(
|
||||
$scope.always_last_version = !$scope.always_last_version;
|
||||
};
|
||||
|
||||
$scope.mark_all_as_read = function()
|
||||
{
|
||||
// Each file
|
||||
for( var _file_key in project.files )
|
||||
{
|
||||
var _file = project.files[ _file_key ];
|
||||
|
||||
_file.notif = 0
|
||||
_file.new = false
|
||||
}
|
||||
};
|
||||
|
||||
$scope.folder_click = function( folder )
|
||||
{
|
||||
// console.log('folder click');
|
||||
|
||||
@@ -117,7 +117,7 @@ application.factory(
|
||||
// Connect event
|
||||
socket.on( 'connect', function()
|
||||
{
|
||||
console.log('connected');
|
||||
|
||||
} );
|
||||
|
||||
socket.on( 'create_file', function( data )
|
||||
|
||||
Reference in New Issue
Block a user