updates
This commit is contained in:
+1
-1
@@ -529,7 +529,7 @@ export class App extends Boot {
|
||||
/**
|
||||
* Left Logo - Ev Handler
|
||||
*/
|
||||
$('.left-logo').dxOn('click', (_, t) => {
|
||||
$('.left-logo')?.dxOn('click', (_, t) => {
|
||||
if (App.section != App.config.home) {
|
||||
App.initModule(App.config.home, {}, { eTarget: t });
|
||||
}
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ export class Boot {
|
||||
}
|
||||
|
||||
Boot.preInit();
|
||||
|
||||
|
||||
Rt.setCsrfToken(document.documentElement.dxFind('meta[name="csrf-token"]')?.content);
|
||||
|
||||
Boot.intData = mod.intData;
|
||||
|
||||
+2
-1
@@ -8,6 +8,7 @@ import { DatePicker } from '../widgets/date-picker/DatePicker';
|
||||
import { TwoDatePicker } from '../widgets/two-datepicker/TwoDatepicker';
|
||||
import { IntervalPicker } from '../widgets/interval-picker/IntervalPicker';
|
||||
import { Uploader } from '../widgets/uploader/Uploader';
|
||||
import { PinBox } from '../widgets/pin-box/PinBox';
|
||||
|
||||
export class Render {
|
||||
|
||||
@@ -979,7 +980,7 @@ export class Render {
|
||||
|
||||
Render.makeFieldWrapper(field, parent).append(input);
|
||||
|
||||
input.PinBox({ digits: field.digits || 6 });
|
||||
new PinBox(input, { digits: field.digits || 6 });
|
||||
|
||||
return input;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user