mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-20 01:27:47 +08:00
update files
This commit is contained in:
@@ -54,6 +54,9 @@ window.addEventListener('DOMContentLoaded', function (){
|
||||
|
||||
ipc.on('app-configure', function (event, command, configure){
|
||||
switch (command) {
|
||||
case 'ready':
|
||||
ipc.send('app-configure', 'read');
|
||||
break;
|
||||
case 'refresh':
|
||||
if (app) {
|
||||
app.activeIndex = 0;
|
||||
@@ -69,5 +72,5 @@ window.addEventListener('DOMContentLoaded', function (){
|
||||
}
|
||||
});
|
||||
|
||||
ipc.send('app-configure', 'refresh');
|
||||
ipc.send('app-configure', 'ready');
|
||||
}, false);
|
||||
|
10
static/js/components/dialog/dialog.html
Normal file
10
static/js/components/dialog/dialog.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
7
static/js/components/dialog/index.js
Normal file
7
static/js/components/dialog/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Created by nuintun on 2015/11/26.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
|
Reference in New Issue
Block a user