1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-02-23 10:22:09 +08:00
parent deddfc9457
commit fc61c4d320
2 changed files with 3 additions and 3 deletions

View File

@ -278,6 +278,7 @@ func Show(m *ice.Message, file string) bool {
if IsSourceFile(m, kit.Ext(file)) {
m.Cmdy(CAT, file)
} else {
m.ProcessOpen(p)
return false
}
}

View File

@ -386,12 +386,11 @@ func init() {
nfs.Trash(m, path.Join(ice.USR_LOCAL_WORK, m.Option(mdb.NAME)))
}},
OPEN: {Role: aaa.VOID, Hand: func(m *ice.Message, arg ...string) {
m.Debug("what %v", m.Option(ice.MSG_USERHOST))
m.Debug("what %v", m.Option(ice.MSG_USERWEB))
if m.Option(mdb.TYPE) == MASTER && m.IsLocalhost() {
m.ProcessOpen(SpideOrigin(m, m.Option(mdb.NAME)))
} else {
ProcessIframe(m, m.Option(mdb.NAME), kit.Select(S(m.Option(mdb.NAME)), SpideOrigin(m, m.Option(mdb.NAME)), m.Option(mdb.TYPE) == MASTER), arg...)
m.ProcessOpen(S(m.Option(mdb.NAME)))
// ProcessIframe(m, m.Option(mdb.NAME), kit.Select(S(m.Option(mdb.NAME)), SpideOrigin(m, m.Option(mdb.NAME)), m.Option(mdb.TYPE) == MASTER), arg...)
}
}},
GRANT: {Hand: func(m *ice.Message, arg ...string) {