Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Commit 5965114

Browse files
author
Loic Kartono
committed
Fix broken Event-chain causing the popup block
1 parent 70afe99 commit 5965114

7 files changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Angular directive that interact with the Google API Picker :
2020

2121
2. Manually
2222

23-
Download [https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.1.zip](https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.1.zip)
23+
Download [https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.2.zip](https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.2.zip)
2424

2525

2626
# Usage
@@ -173,7 +173,6 @@ You should now be able to browse to `localhost:8000` and see it in action from y
173173
# Demo
174174

175175
A demo version is available at [http://softmonkeyjapan.github.io/angular-google-picker/](http://softmonkeyjapan.github.io/angular-google-picker/).
176-
Note that clicking on `Pick files` button may fail the first time because your browser may block the popup. Allow it or click again to make it works.
177176

178177

179178
# License:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-google-picker",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"authors": [
55
"Loic Kartono <contact@kartono-loic.com>"
66
],

dist/google-picker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ angular.module('lk-google-picker', [])
130130
}
131131
}
132132

133+
gapi.load('auth');
134+
gapi.load('picker');
135+
133136
element.bind('click', function(e) {
134137
instanciate();
135138
});

dist/google-picker.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/google-picker.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-google-picker",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "An AngularJs directive that interact with the Google API Picker",
55
"author": "Loic Kartono <contact@kartono-loic.com> (http://www.kartono-loic.com)",
66
"devDependencies": {

src/google-picker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ angular.module('lk-google-picker', [])
130130
}
131131
}
132132

133+
gapi.load('auth');
134+
gapi.load('picker');
135+
133136
element.bind('click', function(e) {
134137
instanciate();
135138
});

0 commit comments

Comments
 (0)