MCPcopy
hub / github.com/joni2back/angular-filemanager / validateSamePath

Function validateSamePath

src/js/controllers/main.js:342–346  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

340 };
341
342 var validateSamePath = function(item) {
343 var selectedPath = $rootScope.selectedModalPath.join('');
344 var selectedItemsPath = item && item.model.path.join('');
345 return selectedItemsPath === selectedPath;
346 };
347
348 var getQueryParam = function(param) {
349 var found = $window.location.search.substr(1).split('&').filter(function(item) {

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected