Skip to content

Commit ebf8d1c

Browse files
authored
Merge pull request #4 from kintone-samples/fixConfig
Fix config
2 parents e12b4c9 + f5662c8 commit ebf8d1c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ Reference: https://get.kintone.help/hc/en-us/articles/115001511188-Adding-Plug-i
4141
2. Make changes to files under /src
4242
3. Repackage the plug-in by:
4343
i. Zipping the manifest.json file, css directory, html directory, image directory and js directory into one zip file.
44-
ii. Drag and dropping the file into the [kintone plug-in packer](https://kintone.github.io/plugin-packer/).
44+
ii. Packaging the file using [kintone plug-in packer](https://plugin-packer.kintone.dev/).
4545

4646
## Pull Request Policy
4747
As this repo exists for educational purposes, we will most likely turn down pull requests that contain updates with new features.
4848
Please feel free to host plug-ins with new features on your own repository.
4949
Bug fixes are happily accepted.
5050

5151
## More information
52-
This sample plug-in uses Tippy.js, found here: https://atomiks.github.io/tippyjs/
52+
This sample plug-in uses Tippy.js, found here https://atomiks.github.io/tippyjs/
53+
More detailed information on the plug-in can be found here https://kintone.dev/en/plugins/simple-samples/profile-tooltip-plug-in/

src/js/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jQuery.noConflict();
4040
// Set input values when 'Save' button is clicked
4141
$form.on('submit', function(e) {
4242
e.preventDefault();
43-
var config = [];
43+
var config = {};
4444
var name = $name.val();
4545

4646
config.name = name;

src/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 1,
3-
"version": 1,
3+
"version": "1.0.2",
44
"type": "APP",
55
"desktop": {
66
"js": [
@@ -34,6 +34,6 @@
3434
"en": "This plug-in displays tooltips next to users listed in the User Selection field when they are hovered over with a mouse."
3535
},
3636
"homepage_url": {
37-
"en": "https://developer.kintone.io/hc/en-us/articles/360014771274"
37+
"en": "https://kintone.dev/en/plugins/simple-samples/profile-tooltip-plug-in/"
3838
}
3939
}

0 commit comments

Comments
 (0)