1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
This commit is contained in:
Kalle Olavi Niemitalo 2006-02-12 23:42:05 +02:00 committed by Kalle Olavi Niemitalo
commit 3dcb386b81
3 changed files with 6 additions and 2 deletions

View File

@ -6,6 +6,7 @@
#include "elinks.h"
#include "bfu/msgbox.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/scripting.h"

View File

@ -6,8 +6,10 @@
#include "elinks.h"
#include "bfu/msgbox.h"
#include "config/home.h"
#include "ecmascript/spidermonkey/util.h"
#include "intl/gettext/libintl.h"
#include "protocol/uri.h"
#include "scripting/scripting.h"
#include "scripting/smjs/bookmarks.h"
@ -75,7 +77,8 @@ elinks_alert(JSContext *ctx, JSObject *obj, uintN argc, jsval *argv, jsval *rval
if (!*string)
return JS_TRUE;
alert_smjs_error(string);
info_box(smjs_ses->tab->term, MSGBOX_NO_TEXT_INTL,
N_("User script alert"), ALIGN_LEFT, string);
undef_to_jsval(ctx, rval);

View File

@ -124,7 +124,7 @@ keymap_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
return JS_TRUE;
}
return JS_TRUE;
return JS_FALSE;
}
static void