Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

Christian Krebs Daniel Herzog David Håsäther
Christian Krebs
Owner

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

Christian Krebs 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
Daniel Herzog

Looks fine

David Håsäther

Good!

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

    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
2  src/ecma-debugger/scriptselect.js
View
@@ -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.