소스 검색

fix path area not dismissing the popover

CauseFX 5 년 전
부모
커밋
79a8c6bd90
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      api/functions/organizr-functions.php
  2. 1 1
      js/custom.js
  3. 0 0
      js/custom.min.js

+ 1 - 1
api/functions/organizr-functions.php

@@ -408,7 +408,7 @@ trait OrganizrFunctions
 		$type = (array_search(false, $paths)) ? 'Not Writable' : 'Writable';
 		$result = '<li class="mouse" onclick="toggleWritableFolders();"><div class="bg-info"><i class="mdi mdi-folder mdi-24px text-white"></i></div><span class="text-muted hidden-xs m-t-10" lang="en">Organizr Paths</span> ' . $type . '</li>';
 		foreach ($paths as $k => $v) {
-			$items .= '<li class="folders-writable hidden"><div class="bg-primary"><i class="mdi mdi-folder mdi-24px text-white"></i></div><button type="button" class="btn btn-default btn-outline popover-info pull-right" lang="en" data-container="body" title="" data-toggle="popover" data-placement="left" data-content="' . $v['path'] . '" data-original-title="File Path">' . $k . '</button> ' . (($v['writable']) ? 'Writable' : 'Not Writable') . '</li>';
+			$items .= '<li class="folders-writable hidden"><div class="bg-primary"><i class="mdi mdi-folder mdi-24px text-white"></i></div><a tabindex="0" type="button" class="btn btn-default btn-outline popover-info pull-right" lang="en" data-container="body" title="" data-toggle="popover" data-placement="left" data-content="' . $v['path'] . '" data-original-title="File Path">' . $k . '</a> ' . (($v['writable']) ? 'Writable' : 'Not Writable') . '</li>';
 		}
 		return $result . $items;
 	}

+ 1 - 1
js/custom.js

@@ -159,7 +159,7 @@ function pageLoad(){
     /* ===== Popover Initialization ===== */
 
     $(function () {
-        $('[data-toggle="popover"]').popover();
+        $('[data-toggle="popover"]').popover({trigger: "focus"});
     });
 
     $(function () {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
js/custom.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.