mockup/master: Fix the UI for the find menu and allow files to be open at a

Oshane Bailey <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: mockup
Branch: refs/heads/master
Date: 2017-06-28T16:55:16-05:00
Author: Oshane Bailey (b4oshany) <[email protected]>
Commit: https://github.com/plone/mockup/commit/8b93df763a54f35e6a1cca1c636e9b2033133ae1

Fix the UI for the find menu and allow files to be open at a specific line in file.

Files changed:
M CHANGES.rst
M mockup/patterns/filemanager/pattern.js

diff --git a/CHANGES.rst b/CHANGES.rst
index 075c0314..6ec527bf 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -10,17 +10,13 @@ Breaking changes:
 
 New features:
 
- - Search for files and text within files and opening the file upon click.
-  [b4oshany]
- - Added Bootstrap Dropdown menu to the UI views.
-  [b4oshany]
- - Enable Drag and Drop inside of the theme editor file tree.
-  [b4oshany]
- - Added Anchor (a) tag to the UI views.
-  [b4oshany]
- - Upgrade JQTree to 1.4.1
-  [b4oshany]
- - Enable Drag and Drop inside of the theme editor file tree.
+ - Improve the user experience for the theme editor
+  - Search for files and text within files and opening the file upon click.
+  - Add Bootstrap Dropdown menu to the UI views.
+  - Enable Drag and Drop inside of the theme editor file tree.
+  - Add Anchor (a) tag to the UI views.
+  - Upgrade JQTree to 1.4.1
+  - Enable Drag and Drop inside of the theme editor file tree.
   [b4oshany]
 
  - Make thumb scale in folder contents listing adjustable/supressable.
diff --git a/mockup/patterns/filemanager/pattern.js b/mockup/patterns/filemanager/pattern.js
index c36020e7..f12b7b7a 100644
--- a/mockup/patterns/filemanager/pattern.js
+++ b/mockup/patterns/filemanager/pattern.js
@@ -179,7 +179,7 @@ define([
         app: self
       });
       var findinFilesView = new FindInFilesView({
-        triggerView: self.btns["findfile"],
+        triggerView: self.btns["findtextinfile"],
         app: self
       });
       var renameView = new RenameView({



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.