summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-05-08 19:00:42 +0200
committerVincent Petry <pvince81@owncloud.com>2014-05-15 17:51:04 +0200
commitfb10bf4048aaf5b2a9665fc9dff217c790efe005 (patch)
tree9d65596c49ecb78d828c8b2fc661f46424c2965d /core/js
parent88ebb15f1d91b82022e02903ab73338065e223b9 (diff)
downloadnextcloud-server-fb10bf4048aaf5b2a9665fc9dff217c790efe005.tar.gz
nextcloud-server-fb10bf4048aaf5b2a9665fc9dff217c790efe005.zip
Files app navigation can now switch
- added new OCA.Files namespace for files classes - the sidebar can now switch between views/containers - the trashbin renders in its own container but currently doesn't work due to overrides - added app.js as entry point for JS code (ideally all other files should only contain classes and not trigger anything)
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 27bc3c651e3..93f4196f056 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1368,6 +1368,11 @@ OC.set=function(name, value) {
})();
/**
+ * Namespace for apps
+ */
+window.OCA = {};
+
+/**
* select a range in an input field
* @link http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area
* @param {type} start