mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
add word count to per-user container
This commit is contained in:
@@ -4,12 +4,14 @@ define [
|
||||
App.controller 'WordCountModalController', ($scope, $modalInstance, ide, $http) ->
|
||||
$scope.status =
|
||||
loading:true
|
||||
|
||||
|
||||
perUserCompile = window.location?.search?.match(/isolated=true/)? or undefined
|
||||
opts =
|
||||
url:"/project/#{ide.project_id}/wordcount"
|
||||
method:"GET"
|
||||
params:
|
||||
clsiserverid:ide.clsiServerId
|
||||
isolated: perUserCompile
|
||||
$http opts
|
||||
.success (data) ->
|
||||
$scope.status.loading = false
|
||||
|
||||
Reference in New Issue
Block a user