mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-27 03:09:45 +02:00
AntOSDK first working version, now application can be built from browser
This commit is contained in:
@ -90,5 +90,4 @@ RepositoryDialog.scheme = """
|
||||
</div>
|
||||
</afx-vbox>
|
||||
</afx-app-window>
|
||||
"""
|
||||
this.OS.register "RepositoryDialog", RepositoryDialog
|
||||
"""
|
@ -52,7 +52,7 @@ class MarketPlace extends this.OS.GUI.BaseApplication
|
||||
@btremove.set "onbtclick", (e) ->
|
||||
me.uninstall e
|
||||
@bindKey "CTRL-R", () ->
|
||||
me.openDialog "RepositoryDialog"
|
||||
me.openDialog new RepositoryDialog()
|
||||
fetchApps: (url) ->
|
||||
me = @
|
||||
@_api.get url, ( d ) ->
|
||||
@ -93,7 +93,7 @@ class MarketPlace extends this.OS.GUI.BaseApplication
|
||||
{ text: "__(Options)", child: [
|
||||
{ text: "__(Repositories)", shortcut: "C-R" }
|
||||
] , onmenuselect: (e) ->
|
||||
me.openDialog "RepositoryDialog"
|
||||
me.openDialog new RepositoryDialog()
|
||||
}
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user