Skip to content

Commit 5fb6995

Browse files
author
Chris K
committed
DFL-3453 JS drop-down does not show the name/uri of the selected script when you select a User JS or Injected Script or Browser JS
1 parent ce3964f commit 5fb6995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecma-debugger/scriptselect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cls.ScriptSelect = function(id, class_name)
2525
{
2626
var script_type = script.script_type.capitalize(true);
2727
return script.uri
28-
? script.filename
28+
? script.filename || script.uri
2929
: script_type + " – " + (script.script_data.replace(/\s+/g, " ").slice(0, 300) ||
3030
ui_strings.S_TEXT_ECMA_SCRIPT_SCRIPT_ID + ': ' + script.script_id);
3131
}

0 commit comments

Comments
 (0)