mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 10:22:09 +00:00
Remove references to help
This commit is contained in:
9
public/v1/js/ff/help.js
vendored
9
public/v1/js/ff/help.js
vendored
@@ -17,7 +17,7 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/** global: token, helpPageTitle, noHelpForPage,noHelpForPageTitle */
|
||||
/** global: token, helpPageTitle */
|
||||
$(function () {
|
||||
"use strict";
|
||||
$('#help').click(showHelp);
|
||||
@@ -36,12 +36,7 @@ function showHelp(e) {
|
||||
$('#helpBody').html('<span class="fa fa-refresh fa-spin"></span>');
|
||||
$('#helpModal').modal('show');
|
||||
$('#helpTitle').html(helpPageTitle);
|
||||
$.getJSON('help/' + encodeURI(route)).done(function (data) {
|
||||
$('#helpBody').html(data.html);
|
||||
}).fail(function () {
|
||||
$('#helpBody').html('<p class="text-danger">' + noHelpForPage + '</p>');
|
||||
$('#helpTitle').html(noHelpForPageTitle);
|
||||
});
|
||||
$('#helpBody').html(helpPageBody);
|
||||
$('#reenableGuidance').unbind('click').click(function () {
|
||||
enableGuidance(route, specialPage);
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user