mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Merge with http://elinks.cz/elinks.git
This commit is contained in:
commit
3dcb386b81
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#include "elinks.h"
|
#include "elinks.h"
|
||||||
|
|
||||||
|
#include "bfu/msgbox.h"
|
||||||
#include "intl/gettext/libintl.h"
|
#include "intl/gettext/libintl.h"
|
||||||
#include "main/module.h"
|
#include "main/module.h"
|
||||||
#include "scripting/scripting.h"
|
#include "scripting/scripting.h"
|
||||||
|
@ -6,8 +6,10 @@
|
|||||||
|
|
||||||
#include "elinks.h"
|
#include "elinks.h"
|
||||||
|
|
||||||
|
#include "bfu/msgbox.h"
|
||||||
#include "config/home.h"
|
#include "config/home.h"
|
||||||
#include "ecmascript/spidermonkey/util.h"
|
#include "ecmascript/spidermonkey/util.h"
|
||||||
|
#include "intl/gettext/libintl.h"
|
||||||
#include "protocol/uri.h"
|
#include "protocol/uri.h"
|
||||||
#include "scripting/scripting.h"
|
#include "scripting/scripting.h"
|
||||||
#include "scripting/smjs/bookmarks.h"
|
#include "scripting/smjs/bookmarks.h"
|
||||||
@ -75,7 +77,8 @@ elinks_alert(JSContext *ctx, JSObject *obj, uintN argc, jsval *argv, jsval *rval
|
|||||||
if (!*string)
|
if (!*string)
|
||||||
return JS_TRUE;
|
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);
|
undef_to_jsval(ctx, rval);
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ keymap_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return JS_TRUE;
|
return JS_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user