Custom path handling corrections (Daniel Tuecks)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
* Default class of a PoE port is 0 if not otherwise defined
|
||||
* Don't try to convert negative mW to dBm in AP power report
|
||||
* LDAP login fix (Daniel Tuecks)
|
||||
* Custom path handling corrections (Daniel Tuecks)
|
||||
|
||||
2.019003 - 2013-10-27
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ use Dancer::Plugin::DBIC;
|
||||
use Dancer::Plugin::Auth::Extensible;
|
||||
|
||||
hook 'before' => sub {
|
||||
params->{return_url} ||= '/inventory';
|
||||
params->{return_url} ||= uri_for('/inventory');
|
||||
|
||||
if (! session('logged_in_user') && request->path ne uri_for('/login')->path) {
|
||||
if (setting('trust_x_remote_user') and scalar request->header('X-REMOTE_USER')) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
if (show.length) {
|
||||
$('#nd_csv-download')
|
||||
.attr('href', '/ajax/content/' + type + '/' + tab + '?' + query)
|
||||
.attr('href', uri_base + '/ajax/content/' + type + '/' + tab + '?' + query)
|
||||
.attr('download', 'netdisco-' + type + '-' + tab + '.csv')
|
||||
.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user