2022-09-03 23:17:59 +00:00
|
|
|
/*
|
|
|
|
* Actions taht are used only within popup
|
|
|
|
*/
|
|
|
|
|
|
|
|
export function setWindowArgs(args) {
|
|
|
|
return {
|
|
|
|
type: 'SET_WIN_ARGS',
|
|
|
|
args,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export function setWindowTitle(title) {
|
|
|
|
return {
|
|
|
|
type: 'SET_WIN_TITLE',
|
|
|
|
title,
|
|
|
|
};
|
|
|
|
}
|
2022-09-04 19:12:47 +00:00
|
|
|
|
|
|
|
export function changeWindowType(
|
|
|
|
windowType,
|
|
|
|
title = '',
|
|
|
|
args = null,
|
|
|
|
) {
|
|
|
|
return {
|
|
|
|
type: 'CHANGE_WIN_TYPE',
|
|
|
|
windowType,
|
|
|
|
title,
|
|
|
|
args,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|