Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

DFL-3453 JS drop-down does not show the name/uri of the selected script ... #41

Merged
merged 1 commit into from

3 participants

@chriskr
Owner

...when you select a User JS or Injected Script or Browser JS

@chriskr chriskr DFL-3453 JS drop-down does not show the name/uri of the selected scri…
…pt when you select a User JS or Injected Script or Browser JS
5fb6995
@danfooo

Looks fine

@hzr

Good!

@chriskr chriskr merged commit cf46806 into cutting-edge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 13, 2012
  1. @chriskr

    DFL-3453 JS drop-down does not show the name/uri of the selected scri…

    chriskr authored
    …pt when you select a User JS or Injected Script or Browser JS
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ecma-debugger/scriptselect.js
View
2  src/ecma-debugger/scriptselect.js
@@ -25,7 +25,7 @@ cls.ScriptSelect = function(id, class_name)
{
var script_type = script.script_type.capitalize(true);
return script.uri
- ? script.filename
+ ? script.filename || script.uri
: script_type + "" + (script.script_data.replace(/\s+/g, " ").slice(0, 300) ||
ui_strings.S_TEXT_ECMA_SCRIPT_SCRIPT_ID + ': ' + script.script_id);
}
Something went wrong with that request. Please try again.