ui: add '.' to path regex

since we use the path for datastore ids, which can contain a '.'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-05-20 16:08:11 +02:00 committed by Dietmar Maurer
parent ce55db66d6
commit 51c63475e1

View File

@ -11,7 +11,7 @@ Ext.define('PBS.MainView', {
action: 'changePath',
before: 'beforeChangePath',
conditions : {
':path' : '(?:([%a-zA-Z0-9\\-\\_\\s,]+))',
':path' : '(?:([%a-zA-Z0-9\\-\\_\\s,\.]+))',
':subpath' : '(?:(?::)([%a-zA-Z0-9\\-\\_\\s,]+))?'
}
}