Disable network path field
This commit is contained in:
parent
69c85d26f7
commit
ec82e6758a
3 changed files with 1 additions and 4 deletions
|
@ -107,7 +107,6 @@ function onAddButtonClick() {
|
||||||
import('../directorybrowser/directorybrowser').then(({ default: DirectoryBrowser }) => {
|
import('../directorybrowser/directorybrowser').then(({ default: DirectoryBrowser }) => {
|
||||||
const picker = new DirectoryBrowser();
|
const picker = new DirectoryBrowser();
|
||||||
picker.show({
|
picker.show({
|
||||||
enableNetworkSharePath: true,
|
|
||||||
callback: function (path, networkSharePath) {
|
callback: function (path, networkSharePath) {
|
||||||
if (path) {
|
if (path) {
|
||||||
addMediaLocation(page, path, networkSharePath);
|
addMediaLocation(page, path, networkSharePath);
|
||||||
|
|
|
@ -166,7 +166,6 @@ function showDirectoryBrowser(context, originalPath, networkPath) {
|
||||||
import('../directorybrowser/directorybrowser').then(({ default: DirectoryBrowser }) => {
|
import('../directorybrowser/directorybrowser').then(({ default: DirectoryBrowser }) => {
|
||||||
const picker = new DirectoryBrowser();
|
const picker = new DirectoryBrowser();
|
||||||
picker.show({
|
picker.show({
|
||||||
enableNetworkSharePath: true,
|
|
||||||
pathReadOnly: originalPath != null,
|
pathReadOnly: originalPath != null,
|
||||||
path: originalPath,
|
path: originalPath,
|
||||||
networkSharePath: networkPath,
|
networkSharePath: networkPath,
|
||||||
|
|
|
@ -93,8 +93,7 @@ export default function (view) {
|
||||||
},
|
},
|
||||||
validateWriteable: true,
|
validateWriteable: true,
|
||||||
header: globalize.translate('HeaderSelectMetadataPath'),
|
header: globalize.translate('HeaderSelectMetadataPath'),
|
||||||
instruction: globalize.translate('HeaderSelectMetadataPathHelp'),
|
instruction: globalize.translate('HeaderSelectMetadataPathHelp')
|
||||||
enableNetworkSharePath: true
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue