You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by ah...@apache.org on 2016/10/17 05:08:48 UTC

zeppelin git commit: [ZEPPELIN-1550] fixed 'add from URL' button

Repository: zeppelin
Updated Branches:
  refs/heads/master 3afd4449c -> e5f211b7b


[ZEPPELIN-1550] fixed 'add from URL' button

### What is this PR for?

fixed 'add from URL' button and disable backdrop function.

### What type of PR is it?
Bug Fix

### Todos
None

### What is the Jira issue?
[ZEPPELIN-1550](https://issues.apache.org/jira/browse/ZEPPELIN-1550)

### How should this be tested?
click 'Import note' -> click 'Add from URL' -> click 'x' button -> open the dialog again -> it shows the URL page not the initial page.

### Screenshots (if appropriate)

 - before
![import_note_window](https://cloud.githubusercontent.com/assets/7574765/19379302/36a0fc12-922c-11e6-9018-c67893305005.gif)

 - after
![after_2](https://cloud.githubusercontent.com/assets/7574765/19379491/2c5a072a-922d-11e6-8804-55c9766b3c5c.gif)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Yunho Maeng <yu...@gmail.com>

Closes #1523 from yunho0130/ZEPPELIN-1550 and squashes the following commits:

a045928 [Yunho Maeng] fixed 'add from URL' button and disable backdrop fuction when user use modal window


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/e5f211b7
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/e5f211b7
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/e5f211b7

Branch: refs/heads/master
Commit: e5f211b7ba9c6282a3c50228ac913a174a830dbf
Parents: 3afd444
Author: Yunho Maeng <yu...@gmail.com>
Authored: Fri Oct 14 16:29:52 2016 +0900
Committer: AhyoungRyu <ah...@apache.org>
Committed: Mon Oct 17 14:08:41 2016 +0900

----------------------------------------------------------------------
 .../src/components/noteName-import/note-import-dialog.html   | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/e5f211b7/zeppelin-web/src/components/noteName-import/note-import-dialog.html
----------------------------------------------------------------------
diff --git a/zeppelin-web/src/components/noteName-import/note-import-dialog.html b/zeppelin-web/src/components/noteName-import/note-import-dialog.html
index 65c610e..96d21ce 100644
--- a/zeppelin-web/src/components/noteName-import/note-import-dialog.html
+++ b/zeppelin-web/src/components/noteName-import/note-import-dialog.html
@@ -13,13 +13,15 @@ limitations under the License.
 -->
 
   <div id="noteImportModal" class="modal fade" role="dialog"
-       tabindex="-1">
-    <div class="modal-dialog">
+       tabindex="-1" data-backdrop="static" data-keyboard="false">
+    <div class="modal-dialog" >
 
       <!-- Modal content-->
       <div class="modal-content" id="NoteImportCtrl" ng-init="NoteImportInit">
         <div class="modal-header">
-          <button type="button" class="close" data-dismiss="modal">&times;</button>
+          <!-- close button -->
+          <button type="button" class="close" data-dismiss="modal" ng-click="noteimportctrl.resetFlags()">&times;</button>
+
           <h4 class="modal-title">Import new note</h4>
         </div>
         <div class="modal-body">