Created
November 29, 2011 02:48
-
-
Save tinybeans/1403140 to your computer and use it in GitHub Desktop.
MTAppInCats()はウェブページの編集画面でも使えます。つまりフォルダごとに動作を変更することができます。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (mtappVars.screen_id === 'edit-page') { | |
$.MTAppInCats({ | |
categories: '3', // ←フォルダIDをカンマ区切りで設定 | |
code: function(){ | |
alert('Have a good day!'); // 処理内容を指定($.MTAppCustomize()などなど) | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment