0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-24 01:57:56 +01:00

makefile & logo click url

This commit is contained in:
Rick Companje 2014-12-19 21:13:22 +01:00
parent 2fba2b34a1
commit 8d2d4a9f57
2 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,9 @@ endif
endef endef
define Package/doodle3d-client/install define Package/doodle3d-client/install
$(INSTALL_DIR) $(1)/www $(INSTALL_DIR) $(1)/www
$(INSTALL_DIR) $(1)/www/filemanager
$(INSTALL_DIR) $(1)/www/css $(INSTALL_DIR) $(1)/www/css
$(INSTALL_DIR) $(1)/www/img $(INSTALL_DIR) $(1)/www/img
#$(INSTALL_DIR) $(1)/www/js #$(INSTALL_DIR) $(1)/www/js
@ -69,6 +71,7 @@ define Package/doodle3d-client/install
$(CP) $(PKG_BUILD_DIR)/www/css/styles.min.css $(1)/www/css/ $(CP) $(PKG_BUILD_DIR)/www/css/styles.min.css $(1)/www/css/
$(CP) $(PKG_BUILD_DIR)/www/img/* $(1)/www/img/ $(CP) $(PKG_BUILD_DIR)/www/img/* $(1)/www/img/
$(CP) $(PKG_BUILD_DIR)/www/filemanager/* $(1)/www/filemanager/
ifeq ($(CONFIG_DOODLE3D_CLIENT_MINIFY_JS),y) ifeq ($(CONFIG_DOODLE3D_CLIENT_MINIFY_JS),y)
$(CP) $(PKG_BUILD_DIR)/www/js/doodle3d-client.min.js $(1)/www/js/ $(CP) $(PKG_BUILD_DIR)/www/js/doodle3d-client.min.js $(1)/www/js/

View File

@ -61,7 +61,7 @@ $.get(api+'list', function(data) { //?id=00003
}); });
function onLogoClick() { function onLogoClick() {
location.href=location.search; location.href='/'+location.search;
} }
function loadSketch(list,cb) { function loadSketch(list,cb) {